summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--poezio/core/core.py11
1 files changed, 1 insertions, 10 deletions
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 8ac88dd4..973c9103 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -2075,16 +2075,7 @@ class Core:
# do not join rooms that do not have autojoin
# but display them anyway
if bm.autojoin:
- muc.join_groupchat(
- self,
- bm.jid,
- nick,
- passwd=bm.password,
- status=self.status.message,
- show=self.status.show,
- tab=tab)
- if tab._text_buffer.last_message is None:
- asyncio.ensure_future(mam.on_tab_open(tab))
+ tab.join()
def check_bookmark_storage(self, features):
private = 'jabber:iq:private' in features