diff --git a/src/python/matrix_client.py b/src/python/matrix_client.py index d04688c6..5ff7c59f 100644 --- a/src/python/matrix_client.py +++ b/src/python/matrix_client.py @@ -654,6 +654,12 @@ class MatrixClient(nio.AsyncClient): 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 async def onTypingNoticeEvent(self, room, ev) -> None: