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