From 028e22b480acdfbf1de9950ca7062abe6b415f89 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Mon, 1 Jun 2015 14:20:10 +0200 Subject: [PATCH] Save the bookmark password in the tab in the initial join, for later usage --- src/core/handlers.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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: