From 1acaf75c10c15300229f4f94936fae219d39d799 Mon Sep 17 00:00:00 2001 From: HanzZ Date: Tue, 5 Feb 2013 09:16:57 +0100 Subject: [PATCH] Swiften: Remove user only in onDisconnected callback. --- backends/swiften/main.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/backends/swiften/main.cpp b/backends/swiften/main.cpp index 7af2703b..3ccc632e 100644 --- a/backends/swiften/main.cpp +++ b/backends/swiften/main.cpp @@ -307,7 +307,6 @@ class SwiftenPlugin : public NetworkPlugin { client->getPresenceOracle()->onPresenceChange.disconnect(boost::bind(&SwiftenPlugin::handleSwiftPresenceChanged, this, user, _1)); client->disconnect(); m_mucs.erase(user); - m_users.erase(user); } }