From 06eef9d6f2b3cd28cd7cd6deb397e7c6c8d55fdb Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 17 Oct 2018 22:09:08 +0300 Subject: [PATCH] Use join_room instead of join_room_by_id --- maubot/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/maubot/client.py b/maubot/client.py index 0861390..234bcf5 100644 --- a/maubot/client.py +++ b/maubot/client.py @@ -77,7 +77,7 @@ class Client: async def _handle_invite(self, evt: StrippedStateEvent) -> None: if evt.state_key == self.id and evt.content.membership == Membership.INVITE: - await self.client.join_room_by_id(evt.room_id) + await self.client.join_room(evt.room_id) # region Properties