diff options
Diffstat (limited to 'Swiften')
-rw-r--r-- | Swiften/MUC/MUC.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Swiften/MUC/MUC.h b/Swiften/MUC/MUC.h index 85f4564..ff03ebc 100644 --- a/Swiften/MUC/MUC.h +++ b/Swiften/MUC/MUC.h @@ -89,14 +89,15 @@ namespace Swift { /* boost::signal<void (const blah&)> onItemsResult; */ + const std::string& getOwnNick() const { + return ownMUCJID.getResource(); + } + private: bool isFromMUC(const JID& j) const { return ownMUCJID.equals(j, JID::WithoutResource); } - const std::string& getOwnNick() const { - return ownMUCJID.getResource(); - } private: void handleIncomingPresence(Presence::ref presence); |