MucTab /leave: toggle off autojoin instead of removing bookmark
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
parent
ad683b4b68
commit
f8e471912c
1 changed files with 1 additions and 1 deletions
|
@ -1490,7 +1490,7 @@ class MucTab(ChatTab):
|
|||
"""
|
||||
self.leave_room(msg)
|
||||
if config.get('synchronise_open_rooms'):
|
||||
self.core.bookmarks.remove(self.jid)
|
||||
self.core.bookmarks[self.jid].autojoin = False
|
||||
self.core.bookmarks.save(self.core.xmpp)
|
||||
self.core.close_tab(self)
|
||||
|
||||
|
|
Loading…
Reference in a new issue