summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-06-12 09:12:09 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-06-12 09:12:09 (GMT)
commita5928fb2a77e4ba899ecd67aeb2412b70945058c (patch)
tree10bfd3db7a67338f1a298b17511b729a9f0a3db9 /Swift/Controllers/Chat/ChatsManager.h
parent81fe3113234c0610ce49de0299f43ae12d985a14 (diff)
downloadswift-a5928fb2a77e4ba899ecd67aeb2412b70945058c.zip
swift-a5928fb2a77e4ba899ecd67aeb2412b70945058c.tar.bz2
Don't re-associate a MUC PM with the bare JID when the target goes offline.
Resolves: #458
Diffstat (limited to 'Swift/Controllers/Chat/ChatsManager.h')
-rw-r--r--Swift/Controllers/Chat/ChatsManager.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Swift/Controllers/Chat/ChatsManager.h b/Swift/Controllers/Chat/ChatsManager.h
index 9957891..9af7a70 100644
--- a/Swift/Controllers/Chat/ChatsManager.h
+++ b/Swift/Controllers/Chat/ChatsManager.h
@@ -43,6 +43,7 @@ namespace Swift {
void setEnabled(bool enabled);
void setServerDiscoInfo(boost::shared_ptr<DiscoInfo> info);
void handleIncomingMessage(boost::shared_ptr<Message> message);
+ virtual bool isMUC(const JID& muc) const;
private:
void handleChatRequest(const String& contact);
void handleJoinMUCRequest(const JID& muc, const boost::optional<String>& nick);
@@ -56,8 +57,6 @@ namespace Swift {
ChatController* createNewChatController(const JID &contact);
ChatController* getChatControllerOrCreate(const JID &contact);
ChatController* getChatControllerIfExists(const JID &contact);
- virtual bool isMUC(const JID& muc) const;
-
std::map<JID, MUCController*> mucControllers_;
std::map<JID, ChatController*> chatControllers_;
EventController* eventController_;