Register invited rooms

This commit is contained in:
miruka 2019-08-15 10:51:37 -04:00
parent e027c56047
commit 24ea8fa673

View File

@ -654,6 +654,12 @@ class MatrixClient(nio.AsyncClient):
await self.register_nio_event(room, ev, content=co) await self.register_nio_event(room, ev, content=co)
# Callbacks for nio invite events
async def onInviteEvent(self, room, ev) -> None:
await self.register_nio_room(room)
# Callbacks for nio ephemeral events # Callbacks for nio ephemeral events
async def onTypingNoticeEvent(self, room, ev) -> None: async def onTypingNoticeEvent(self, room, ev) -> None: