Commit f8e47191 authored by Maxime Buquet's avatar Maxime Buquet

MucTab /leave: toggle off autojoin instead of removing bookmark

Signed-off-by: Maxime Buquet's avatarMaxime “pep” Buquet <pep@bouah.net>
parent ad683b4b
Pipeline #3173 passed with stages
in 5 minutes and 17 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