Swiften: Remove user only in onDisconnected callback.
This commit is contained in:
parent
362ebaf12f
commit
1acaf75c10
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue