--- a/mcabber/src/commands.c Fri Jul 08 22:10:42 2005 +0100
+++ b/mcabber/src/commands.c Fri Jul 08 22:32:50 2005 +0100
@@ -113,6 +113,7 @@
compl_add_category_word(COMPL_ROSTER, "top");
compl_add_category_word(COMPL_ROSTER, "hide_offline");
compl_add_category_word(COMPL_ROSTER, "show_offline");
+ compl_add_category_word(COMPL_ROSTER, "toggle_offline");
compl_add_category_word(COMPL_ROSTER, "search");
compl_add_category_word(COMPL_ROSTER, "unread_first");
compl_add_category_word(COMPL_ROSTER, "unread_next");
@@ -334,6 +335,10 @@
buddylist_set_hide_offline_buddies(FALSE);
buddylist_build();
update_roster = TRUE;
+ } else if (!strcasecmp(arg, "toggle_offline")) {
+ buddylist_set_hide_offline_buddies(-1);
+ buddylist_build();
+ update_roster = TRUE;
} else if (!strcasecmp(arg, "unread_first")) {
scr_RosterUnreadMessage(0);
} else if (!strcasecmp(arg, "unread_next")) {