summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'Swift/Controllers')
-rw-r--r--Swift/Controllers/Chat/ChatsManager.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatsManager.cpp b/Swift/Controllers/Chat/ChatsManager.cpp
index aedee4c..118f1e8 100644
--- a/Swift/Controllers/Chat/ChatsManager.cpp
+++ b/Swift/Controllers/Chat/ChatsManager.cpp
@@ -560,6 +560,9 @@ void ChatsManager::handleJoinMUCRequest(const JID &mucJID, const boost::optional
if (nickMaybe) {
bookmark.setNick(*nickMaybe);
}
+ if (password) {
+ bookmark.setPassword(*password);
+ }
mucBookmarkManager_->addBookmark(bookmark);
}