comparison 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
comparison
equal deleted inserted replaced
2287:1f5f708d58a6 2288:ece02eb9c81d
41 hk_handler_t handler; 41 hk_handler_t handler;
42 gint priority; 42 gint priority;
43 gpointer userdata; 43 gpointer userdata;
44 guint hid; 44 guint hid;
45 } hook_list_data_t; 45 } hook_list_data_t;
46
47 extern int build_buddylist;
48 46
49 static GHashTable *hk_handler_hash = NULL; 47 static GHashTable *hk_handler_hash = NULL;
50 48
51 // _new_hook_id() 49 // _new_hook_id()
52 // Return a unique Hook Id 50 // Return a unique Hook Id
567 } 565 }
568 } 566 }
569 567
570 roster_setstatus(bjid, rn, prio, status, status_msg, timestamp, 568 roster_setstatus(bjid, rn, prio, status, status_msg, timestamp,
571 role_none, affil_none, NULL); 569 role_none, affil_none, NULL);
572 build_buddylist = TRUE; 570 buddylist_build();
571 update_roster = TRUE;
573 hlog_write_status(bjid, timestamp, status, status_msg); 572 hlog_write_status(bjid, timestamp, status, status_msg);
574 573
575 #ifdef MODULES_ENABLE 574 #ifdef MODULES_ENABLE
576 { 575 {
577 char os[2] = " \0"; 576 char os[2] = " \0";