Move available resources to connection struct

This commit is contained in:
James Booth
2016-05-07 23:04:50 +01:00
parent 7f1beadea9
commit 9596591610
7 changed files with 35 additions and 28 deletions

View File

@@ -963,7 +963,7 @@ cons_show_account(ProfAccount *account)
if ((connection_get_status() == JABBER_CONNECTED) &&
(g_strcmp0(session_get_account_name(), account->name) == 0)) {
GList *resources = session_get_available_resources();
GList *resources = connection_get_available_resources();
GList *ordered_resources = NULL;
GList *curr = resources;