summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2015-06-01 14:20:10 +0200
committerFlorent Le Coz <louiz@louiz.org>2015-06-01 14:20:10 +0200
commit028e22b480acdfbf1de9950ca7062abe6b415f89 (patch)
treeb0128ea3908d5e760498d16aee0268a1f852ed68 /src
parent8f75e10d2fed7fdca09ba5f3cdaea70654a27303 (diff)
downloadpoezio-028e22b480acdfbf1de9950ca7062abe6b415f89.tar.gz
poezio-028e22b480acdfbf1de9950ca7062abe6b415f89.tar.bz2
poezio-028e22b480acdfbf1de9950ca7062abe6b415f89.tar.xz
poezio-028e22b480acdfbf1de9950ca7062abe6b415f89.zip
Save the bookmark password in the tab in the initial join, for later usage
Diffstat (limited to 'src')
-rw-r--r--src/core/handlers.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/handlers.py b/src/core/handlers.py
index 96f8215f..012e90d3 100644
--- a/src/core/handlers.py
+++ b/src/core/handlers.py
@@ -53,7 +53,8 @@ def _join_initial_rooms(self, bookmarks):
tab = self.get_tab_by_name(bm.jid, tabs.MucTab)
nick = bm.nick if bm.nick else self.own_nick
if not tab:
- self.open_new_room(bm.jid, nick, focus=False)
+ self.open_new_room(bm.jid, nick, focus=False,
+ password=bm.password)
self.initial_joins.append(bm.jid)
histo_length = config.get('muc_history_length')
if histo_length == -1: