diff mcabber/mcabber/roster.c @ 2312:def5f64c253d

Rebuild the buddylist after disconnect/before buddylist search
author franky
date Sun, 19 Feb 2017 18:55:12 +0100
parents 038b864b44c6
children 4ddd6f5c3ffc
line wrap: on
line diff
--- a/mcabber/mcabber/roster.c	Mon Feb 13 20:02:14 2017 +0100
+++ b/mcabber/mcabber/roster.c	Sun Feb 19 18:55:12 2017 +0100
@@ -438,6 +438,7 @@
   // #4 Insert node (sorted)
   my_group->list = g_slist_insert_sorted(my_group->list, roster_usr,
                                          (GCompareFunc)&roster_compare_name);
+  buddylist_defer_build();
   return roster_find(jid, jidsearch, type);
 }