summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiften/MUC/MUC.h')
-rw-r--r--Swiften/MUC/MUC.h7
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);