Commit 4ced0bd7 authored by Maxime Buquet's avatar Maxime Buquet

Merge branch 'bookmark-autojoin' into 'master'

MucTab /leave: toggle off autojoin instead of removing bookmark

See merge request !115
parents ad683b4b f8e47191
Pipeline #3174 passed with stages
in 6 minutes and 27 seconds
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment