Mercurial > ~mikael > mcabber > hg
diff mcabber/src/hooks.c @ 1311:0dda8238af21
Implement "/roster display"
author | Mikael Berthe <mikael@lilotux.net> |
---|---|
date | Thu, 13 Sep 2007 20:05:21 +0200 |
parents | e42f48103609 |
children | 1ea5a4cf2ae0 |
line wrap: on
line diff
--- a/mcabber/src/hooks.c Mon Sep 10 21:56:50 2007 +0200 +++ b/mcabber/src/hooks.c Thu Sep 13 20:05:21 2007 +0200 @@ -209,10 +209,10 @@ } // We need to update the roster if the sender is unknown or - // if the sender is offline/invisible and hide_offline_buddies is set + // if the sender is offline/invisible and a filter is set. if (new_guy || (buddy_getstatus(roster_usr->data, NULL) == offline && - buddylist_get_hide_offline_buddies())) + buddylist_isset_filter())) { update_roster = TRUE; }