initialize minimize_on_autojoin to False when we add a new bookmark
This commit is contained in:
parent
2c6b7494cc
commit
e65bca1049
|
@ -1341,7 +1341,7 @@ class JoinGroupchatWindow:
|
||||||
if not room_jid_bookmarked:
|
if not room_jid_bookmarked:
|
||||||
name = gajim.get_nick_from_jid(room_jid)
|
name = gajim.get_nick_from_jid(room_jid)
|
||||||
bmdict = { 'name': name, 'jid': room_jid, 'autojoin': u'1',
|
bmdict = { 'name': name, 'jid': room_jid, 'autojoin': u'1',
|
||||||
'password': password, 'nick': nickname,
|
'minimize': '0', 'password': password, 'nick': nickname,
|
||||||
'print_status': gajim.config.get('print_status_in_muc')}
|
'print_status': gajim.config.get('print_status_in_muc')}
|
||||||
|
|
||||||
gajim.connections[self.account].bookmarks.append(bmdict)
|
gajim.connections[self.account].bookmarks.append(bmdict)
|
||||||
|
|
|
@ -1597,6 +1597,7 @@ class GroupchatControl(ChatControlBase):
|
||||||
'name': self.name,
|
'name': self.name,
|
||||||
'jid': self.room_jid,
|
'jid': self.room_jid,
|
||||||
'autojoin': '0',
|
'autojoin': '0',
|
||||||
|
'minimize': '0',
|
||||||
'password': '',
|
'password': '',
|
||||||
'nick': self.nick
|
'nick': self.nick
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue