Use join_room instead of join_room_by_id

This commit is contained in:
Tulir Asokan 2018-10-17 22:09:08 +03:00
parent 2844865e3a
commit 06eef9d6f2

View File

@ -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