Make sure to register room on ignored events
This commit is contained in:
parent
24ede5653d
commit
35e6c1c7eb
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user