diff --git a/include/transport/Conversation.h b/include/transport/Conversation.h index ec8fa2c6ea2a7ecdae0a087722f40a27135356fc..94ae77d4d38c1d37513519da13617bae41c6a9b0 100644 --- a/include/transport/Conversation.h +++ b/include/transport/Conversation.h @@ -81,7 +81,7 @@ class Conversation { /// \param status Current status of this participant. /// \param statusMessage Current status message of this participant. /// \param newname If participant was renamed, this variable contains his new name. - void handleParticipantChanged(const std::string &nickname, ParticipantFlag flag, int status = Swift::StatusShow::None, const std::string &statusMessage = "", const std::string &newname = ""); + void handleParticipantChanged(const std::string &nickname, ParticipantFlag flag, int status = Swift::StatusShow::None, const std::string &statusMessage = "", const std::string &newname = "", const std::string &iconhash = ""); /// Sets XMPP user nickname in MUC rooms. @@ -154,7 +154,7 @@ class Conversation { 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 = ""); + Swift::Presence::ref generatePresence(const std::string &nick, int flag, int status, const std::string &statusMessage, const std::string &newname = "", const std::string &iconhash = ""); void cacheMessage(boost::shared_ptr &message); private: