summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swiftob/MUCs.h')
-rw-r--r--Swiftob/MUCs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Swiftob/MUCs.h b/Swiftob/MUCs.h
index e727ec2..8f56182 100644
--- a/Swiftob/MUCs.h
+++ b/Swiftob/MUCs.h
@@ -30,6 +30,8 @@ class MUCs {
void part(const JID& room);
bool contains(const JID& room);
MUC::ref getMUC(const JID& room);
+ const std::string& getDefaultNick() const {return defaultNick_;}
+ bool setDefaultNick(const std::string& nick);
private:
void handleConnected();
void handleJoinFailed(const JID& room, ErrorPayload::ref error, boost::function<void(const std::string& /*reason*/)> failureCallback);