From f8e471912c3b94b46376aff748058d7b5b25c992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Sun, 24 May 2020 17:44:45 +0200 Subject: MucTab /leave: toggle off autojoin instead of removing bookmark MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- poezio/tabs/muctab.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/poezio/tabs/muctab.py b/poezio/tabs/muctab.py index 7885991a..b2c4a9df 100644 --- a/poezio/tabs/muctab.py +++ b/poezio/tabs/muctab.py @@ -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) -- cgit v1.2.3