summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/muc-channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/muc-channel.c b/src/muc-channel.c
index eff9f72e..270732d5 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -748,6 +748,8 @@ salut_muc_channel_dispose (GObject *object)
priv->dispose_has_run = TRUE;
+ priv->connected = FALSE;
+
g_signal_handlers_disconnect_matched (priv->muc_connection,
G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, self);