Pass offline filter to roster_get_contacts

This commit is contained in:
James Booth
2015-11-18 01:03:35 +00:00
parent b373cbcfc0
commit 4efe456e74
8 changed files with 46 additions and 42 deletions

View File

@@ -55,7 +55,7 @@ void cmd_roster_shows_roster_when_no_args(void **state)
roster_init();
roster_add("bob@server.org", "bob", NULL, "both", FALSE);
GSList *roster = roster_get_contacts(ROSTER_ORD_NAME);
GSList *roster = roster_get_contacts(ROSTER_ORD_NAME, TRUE);
expect_memory(cons_show_roster, list, roster, sizeof(roster));