Commit 98bd4c24 authored by mathieui's avatar mathieui

muctab: fix closing a tab not in bookmarks

parent 5cfb0cbf
Pipeline #3577 passed with stages
in 5 minutes and 19 seconds
......@@ -1525,10 +1525,9 @@ class MucTab(ChatTab):
if config.get('synchronise_open_rooms'):
if self.jid not in self.core.bookmarks:
self.core.bookmarks[self.jid].autojoin = False
if self.jid in self.core.bookmarks:
self.core.bookmarks[self.jid].autojoin = False
def on_close(self) -> None:
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