diff options
Diffstat (limited to 'src/groupchat_control.py')
-rw-r--r-- | src/groupchat_control.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/groupchat_control.py b/src/groupchat_control.py index d5472c350..054dc9c83 100644 --- a/src/groupchat_control.py +++ b/src/groupchat_control.py @@ -1891,9 +1891,7 @@ class GroupchatControl(ChatControlBase): def _on_bookmark_room_menuitem_activate(self, widget): '''bookmark the room, without autojoin and not minimized''' - password = '' - if self.room_jid in gajim.gc_passwords: - password = gajim.gc_passwords[self.room_jid] + password = gajim.gc_passwords.get(self.room_jid, '') gajim.interface.add_gc_bookmark(self.account, self.name, self.room_jid, \ '0', '0', password, self.nick) |