mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 02:26:22 +00:00
Cleanup jid_destroy to auto_jid
Remove unused variables Apply minor cleanups
This commit is contained in:
@@ -1141,9 +1141,8 @@ cons_show_account(ProfAccount* account)
|
||||
win_append(console, presence_colour, ", \"%s\"", resource->status);
|
||||
}
|
||||
win_appendln(console, THEME_DEFAULT, "");
|
||||
Jid* jidp = jid_create_from_bare_and_resource(account->jid, resource->name);
|
||||
auto_jid Jid* jidp = jid_create_from_bare_and_resource(account->jid, resource->name);
|
||||
EntityCapabilities* caps = caps_lookup(jidp->fulljid);
|
||||
jid_destroy(jidp);
|
||||
|
||||
if (caps) {
|
||||
// show identity
|
||||
|
||||
Reference in New Issue
Block a user