about summary refs log tree commit diff stats
path: root/src/command
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-11-18 00:25:35 +0000
committerJames Booth <boothj5@gmail.com>2015-11-18 00:25:35 +0000
commitb373cbcfc0688c80314b40024a8a9d596bcc9856 (patch)
tree343707ede12d423a5226c6a107410f4873f5ea56 /src/command
parent2260e3bd6f7e99fd16f05372c7545b8e2379ff6e (diff)
downloadprofani-tty-b373cbcfc0688c80314b40024a8a9d596bcc9856.tar.gz
Pass offline filter to roster list functions
Diffstat (limited to 'src/command')
-rw-r--r--src/command/commands.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command/commands.c b/src/command/commands.c
index c1edfdb2..3a2f5292 100644
--- a/src/command/commands.c
+++ b/src/command/commands.c
@@ -1320,7 +1320,7 @@ _who_roster(ProfWin *window, const char *const command, gchar **args)
     cons_show("");
     GSList *list = NULL;
     if (group) {
-        list = roster_get_group(group, ROSTER_ORD_NAME);
+        list = roster_get_group(group, ROSTER_ORD_NAME, TRUE);
         if (list == NULL) {
             cons_show("No such group: %s.", group);
             return;
@@ -1628,7 +1628,7 @@ cmd_group(ProfWin *window, const char *const command, gchar **args)
             return TRUE;
         }
 
-        GSList *list = roster_get_group(group, ROSTER_ORD_NAME);
+        GSList *list = roster_get_group(group, ROSTER_ORD_NAME, TRUE);
         cons_show_roster_group(group, list);
         return TRUE;
     }