mcabber/mcabber/hooks.c
changeset 2288 ece02eb9c81d
parent 2281 1bb9002801e5
child 2291 0d350e979bde
--- a/mcabber/mcabber/hooks.c	Mon Nov 21 20:58:58 2016 +0100
+++ b/mcabber/mcabber/hooks.c	Tue Dec 13 22:26:45 2016 +0100
@@ -44,8 +44,6 @@
   guint     hid;
 } hook_list_data_t;
 
-extern int build_buddylist;
-
 static GHashTable *hk_handler_hash = NULL;
 
 //  _new_hook_id()
@@ -569,7 +567,8 @@
 
   roster_setstatus(bjid, rn, prio, status, status_msg, timestamp,
                    role_none, affil_none, NULL);
-  build_buddylist = TRUE;
+  buddylist_build();
+  update_roster = TRUE;
   hlog_write_status(bjid, timestamp, status, status_msg);
 
 #ifdef MODULES_ENABLE