diff options
author | James Booth <boothj5@gmail.com> | 2015-11-18 01:03:35 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-11-18 01:03:35 +0000 |
commit | 4efe456e7446baf125cf55a3c9e4a73c978809ac (patch) | |
tree | e899cf1d67c011782f64ddbf81471cbe8b66b328 /src/command | |
parent | b373cbcfc0688c80314b40024a8a9d596bcc9856 (diff) | |
download | profani-tty-4efe456e7446baf125cf55a3c9e4a73c978809ac.tar.gz |
Pass offline filter to roster_get_contacts
Diffstat (limited to 'src/command')
-rw-r--r-- | src/command/commands.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/command/commands.c b/src/command/commands.c index 3a2f5292..10143565 100644 --- a/src/command/commands.c +++ b/src/command/commands.c @@ -1326,7 +1326,7 @@ _who_roster(ProfWin *window, const char *const command, gchar **args) return; } } else { - list = roster_get_contacts(ROSTER_ORD_NAME); + list = roster_get_contacts(ROSTER_ORD_NAME, TRUE); if (list == NULL) { cons_show("No contacts in roster."); return; @@ -1711,7 +1711,7 @@ cmd_roster(ProfWin *window, const char *const command, gchar **args) return TRUE; } - GSList *list = roster_get_contacts(ROSTER_ORD_NAME); + GSList *list = roster_get_contacts(ROSTER_ORD_NAME, TRUE); cons_show_roster(list); g_slist_free(list); return TRUE; @@ -1931,7 +1931,7 @@ cmd_roster(ProfWin *window, const char *const command, gchar **args) return TRUE; } - GSList *all = roster_get_contacts(ROSTER_ORD_NAME); + GSList *all = roster_get_contacts(ROSTER_ORD_NAME, TRUE); GSList *curr = all; while (curr) { PContact contact = curr->data; |