diff options
Diffstat (limited to 'Swiften/MUC/MUCImpl.h')
-rw-r--r-- | Swiften/MUC/MUCImpl.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Swiften/MUC/MUCImpl.h b/Swiften/MUC/MUCImpl.h index 846ddcf..8eabb80 100644 --- a/Swiften/MUC/MUCImpl.h +++ b/Swiften/MUC/MUCImpl.h @@ -55,12 +55,18 @@ namespace Swift { virtual void joinAs(const std::string &nick); virtual void joinWithContextSince(const std::string &nick, const boost::posix_time::ptime& since); /*virtual void queryRoomInfo(); */ /*virtual void queryRoomItems(); */ /*virtual std::string getCurrentNick(); */ virtual std::map<std::string, MUCOccupant> getOccupants() const; + + /** + * Send a new presence to the MUC indicating a nickname change. Any custom status the user had in the is cleared. + * @param newNickname The nickname to change to. + */ + virtual void changeNickname(const std::string& newNickname); virtual void part(); /*virtual void handleIncomingMessage(Message::ref message); */ /** Expose public so it can be called when e.g. user goes offline */ virtual void handleUserLeft(LeavingType); /** Get occupant information*/ virtual const MUCOccupant& getOccupant(const std::string& nick); |