diff mcabber/mcabber/hooks.c @ 2288:ece02eb9c81d

Backed out changeset 1bb9002801e5
author Mikael Berthe <mikael@lilotux.net>
date Tue, 13 Dec 2016 22:26:45 +0100
parents 1bb9002801e5
children 0d350e979bde
line wrap: on
line diff
--- 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