mcabber/mcabber/xmpp.c
changeset 2118 51fde9c25401
parent 2113 44c4b850263a
child 2134 fc7a758ebbde
--- a/mcabber/mcabber/xmpp.c	Sun May 11 18:02:41 2014 +0200
+++ b/mcabber/mcabber/xmpp.c	Mon Jun 09 10:01:48 2014 +0200
@@ -40,6 +40,7 @@
 #include "settings.h"
 #include "utils.h"
 #include "main.h"
+#include "carbons.h"
 
 #define RECONNECTION_TIMEOUT    60L
 
@@ -952,6 +953,8 @@
   if (rosternotes)
     lm_message_node_unref(rosternotes);
   rosternotes = NULL;
+  // Reset carbons
+  carbons_reset();
   // Update display
   update_roster = TRUE;
   scr_update_buddy_window();