mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-08-04 18:46:21 +00:00
Only show resources for connected account
This commit is contained in:
@@ -1358,6 +1358,8 @@ cons_show_account(ProfAccount *account)
|
||||
account->priority_chat, account->priority_online, account->priority_away,
|
||||
account->priority_xa, account->priority_dnd);
|
||||
|
||||
if ((jabber_get_connection_status() == JABBER_CONNECTED) &&
|
||||
(g_strcmp0(jabber_get_account_name(), account->name) == 0)) {
|
||||
GList *resources = jabber_get_available_resources();
|
||||
GList *ordered_resources = NULL;
|
||||
|
||||
@@ -1436,7 +1438,7 @@ cons_show_account(ProfAccount *account)
|
||||
|
||||
ordered_resources = g_list_next(ordered_resources);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
Reference in New Issue
Block a user