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

Rebuild the buddylist after disconnect/before buddylist search
author franky
date Sun, 19 Feb 2017 18:55:12 +0100
parents 962c98e4864d
children 70f8ae7d690e
line wrap: on
line diff
--- a/mcabber/mcabber/screen.c	Mon Feb 13 20:02:14 2017 +0100
+++ b/mcabber/mcabber/screen.c	Sun Feb 19 18:55:12 2017 +0100
@@ -1443,6 +1443,7 @@
 {
   const gchar *bjid;
 
+  buddylist_build();
   if (!current_buddy) {
     bjid = NULL;
   } else {
@@ -2735,6 +2736,7 @@
     }
   }
 
+  buddylist_build();
   nbuddy = g_list_find(buddylist, unread_ptr);
   if (nbuddy) {
     set_current_buddy(nbuddy);