From e78ed92ba36829b89007fe390e8b19b2b59514e3 Mon Sep 17 00:00:00 2001 From: mathieui Date: Tue, 14 Apr 2015 01:34:24 +0200 Subject: Fix #2714 (make bare /bookmark use the current room password if there is one) --- src/tabs/muctab.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tabs') diff --git a/src/tabs/muctab.py b/src/tabs/muctab.py index 1f202dd0..c84c92cc 100644 --- a/src/tabs/muctab.py +++ b/src/tabs/muctab.py @@ -55,13 +55,14 @@ class MucTab(ChatTab): message_type = 'groupchat' plugin_commands = {} plugin_keys = {} - def __init__(self, jid, nick): + def __init__(self, jid, nick, password=None): self.joined = False ChatTab.__init__(self, jid) if self.joined == False: self._state = 'disconnected' self.own_nick = nick self.name = jid + self.password = password self.users = [] self.privates = [] # private conversations self.topic = '' -- cgit v1.2.3