Mercurial > ~mikael > mcabber > hg
diff mcabber/mcabber/hooks.c @ 2292:f181418db215
Replace global variable update_roster with scr_update_roster()
author | franky |
---|---|
date | Tue, 01 Nov 2016 18:00:39 +0100 |
parents | 0d350e979bde |
children |
line wrap: on
line diff
--- a/mcabber/mcabber/hooks.c Tue Nov 01 08:39:07 2016 +0100 +++ b/mcabber/mcabber/hooks.c Tue Nov 01 18:00:39 2016 +0100 @@ -436,7 +436,7 @@ (buddy_getstatus(roster_usr->data, NULL) == offline && buddylist_isset_filter())) { - update_roster = TRUE; + scr_update_roster(); } g_free(bmsg); @@ -568,7 +568,7 @@ roster_setstatus(bjid, rn, prio, status, status_msg, timestamp, role_none, affil_none, NULL); buddylist_defer_build(); - update_roster = TRUE; + scr_update_roster(); hlog_write_status(bjid, timestamp, status, status_msg); #ifdef MODULES_ENABLE