mcabber/mcabber/screen.c
changeset 2281 1bb9002801e5
parent 2280 f1eebfdd6db7
child 2288 ece02eb9c81d
--- a/mcabber/mcabber/screen.c	Sat Sep 24 12:31:13 2016 +0200
+++ b/mcabber/mcabber/screen.c	Sun Sep 25 15:07:24 2016 +0200
@@ -68,6 +68,8 @@
 
 #define DEFAULT_ATTENTION_CHAR '!'
 
+extern int build_buddylist;
+
 const char *LocaleCharSet = "C";
 
 static unsigned short int Log_Win_Height;
@@ -2538,7 +2540,7 @@
   }
   // We should rebuild the buddylist but not everytime
   if (!(buddylist_get_filter() & 1<<prev_st))
-    buddylist_build();
+    build_buddylist = TRUE;
   update_roster = TRUE;
 }