Make sure to register room on ignored events

This commit is contained in:
miruka 2020-05-21 14:37:48 -04:00
parent 24ede5653d
commit 35e6c1c7eb

View File

@ -441,6 +441,7 @@ class NioCallbacks:
async def onUnknownEvent(self, room, ev) -> None: async def onUnknownEvent(self, room, ev) -> None:
if self.client.backend.ui_settings["hideUnknownEvents"]: if self.client.backend.ui_settings["hideUnknownEvents"]:
await self.client.register_nio_room(room)
return return
co = f"%1 sent an unsupported <b>{ev.type}</b> event" co = f"%1 sent an unsupported <b>{ev.type}</b> event"