about summary refs log tree commit diff stats
path: root/src/ui/console.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-07 23:04:50 +0100
committerJames Booth <boothj5@gmail.com>2016-05-07 23:04:50 +0100
commit9596591610ae01a47cbd37f636094da6bb44d054 (patch)
tree6ebfcaf18b57951b1ad8f717a98412cfe2161800 /src/ui/console.c
parent7f1beadea9ee1d3b0ba60270db43b112e8858cec (diff)
downloadprofani-tty-9596591610ae01a47cbd37f636094da6bb44d054.tar.gz
Move available resources to connection struct
Diffstat (limited to 'src/ui/console.c')
-rw-r--r--src/ui/console.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 472cd587..7adc0147 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -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;