diff --git a/include/transport/conversation.h b/include/transport/conversation.h index c6157ac88dfbd832f8d580c2fb214ac70891dbc3..17de85f0253ef73467aa4660fbaf9887244454a4 100644 --- a/include/transport/conversation.h +++ b/include/transport/conversation.h @@ -33,6 +33,8 @@ class ConversationManager; class Conversation { public: + enum ParticipantFlag {None, Moderator}; + /// Constructor. Conversation(ConversationManager *conversationManager, const std::string &legacyName, bool m_muc = false); @@ -42,7 +44,7 @@ class Conversation { const std::string &getLegacyName() { return m_legacyName; } void handleMessage(boost::shared_ptr &message, const std::string &nickname = ""); - void handleParticipantChanged(const std::string &nickname, int flag, const std::string &newname = ""); + void handleParticipantChanged(const std::string &nickname, int flag, int status = Swift::StatusShow::None, const std::string &statusMessage = "", const std::string &newname = ""); void setNickname(const std::string &nickname) { m_nickname = nickname; }