summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime Buquet <pep@bouah.net>2020-05-24 17:54:05 +0200
committerMaxime Buquet <pep@bouah.net>2020-05-24 17:54:05 +0200
commit4ced0bd7bfcf249b87455f7a228c3803e4a29cca (patch)
tree4d54bf7c4ac8c54bc10f8654d7950d94350a4474
parentad683b4b689bf767d7df1d30f964641c4bc97597 (diff)
parentf8e471912c3b94b46376aff748058d7b5b25c992 (diff)
downloadpoezio-4ced0bd7bfcf249b87455f7a228c3803e4a29cca.tar.gz
poezio-4ced0bd7bfcf249b87455f7a228c3803e4a29cca.tar.bz2
poezio-4ced0bd7bfcf249b87455f7a228c3803e4a29cca.tar.xz
poezio-4ced0bd7bfcf249b87455f7a228c3803e4a29cca.zip
Merge branch 'bookmark-autojoin' into 'master'
MucTab /leave: toggle off autojoin instead of removing bookmark See merge request poezio/poezio!115
-rw-r--r--poezio/tabs/muctab.py2
1 files changed, 1 insertions, 1 deletions
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)