diff --git a/include/transport/Conversation.h b/include/transport/Conversation.h index 9c268139ce61a52791d3d9e41212726c46fcac3c..ec8fa2c6ea2a7ecdae0a087722f40a27135356fc 100644 --- a/include/transport/Conversation.h +++ b/include/transport/Conversation.h @@ -151,6 +151,8 @@ class Conversation { void sendCachedMessages(const Swift::JID &to = Swift::JID()); + void setMUCEscaping(bool mucEscaping); + private: Swift::Presence::ref generatePresence(const std::string &nick, int flag, int status, const std::string &statusMessage, const std::string &newname = ""); void cacheMessage(boost::shared_ptr &message); @@ -165,6 +167,7 @@ class Conversation { std::list m_jids; bool m_sentInitialPresence; bool m_nicknameChanged; + bool m_mucEscaping; // TODO: Move this to some extra class to cache the most used // rooms across different accounts. Just now if we have 10 users