Pass offline filter to roster list functions

This commit is contained in:
James Booth
2015-11-18 00:25:35 +00:00
parent 2260e3bd6f
commit b373cbcfc0
4 changed files with 31 additions and 17 deletions

View File

@@ -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;
}