diff --git a/libtransport/Conversation.cpp b/libtransport/Conversation.cpp index 1907eb834df2ecd5f700b7a1afe9d0d4c6fc0796..34de156ce80cc3218ae8fc1224a8e402e535acab 100644 --- a/libtransport/Conversation.cpp +++ b/libtransport/Conversation.cpp @@ -360,6 +360,10 @@ void Conversation::handleRawPresence(Swift::Presence::ref presence) { m_participants[presence->getFrom().getResource()].presence = presence; } +void Conversation::removeJID(const Swift::JID &jid) { + m_jids.remove(jid); +} + void Conversation::handleParticipantChanged(const std::string &nick, Conversation::ParticipantFlag flag, int status, const std::string &statusMessage, const std::string &newname, const std::string &iconhash, const std::string &alias) { Swift::Presence::ref presence = generatePresence(alias.empty() ? nick : alias, flag, status, statusMessage, newname, iconhash);