Use user ID for unknown typing users in room

This commit is contained in:
miruka 2020-04-04 07:30:58 -04:00
parent 9e07612249
commit 3a77a0288f

View File

@ -451,6 +451,6 @@ class NioCallbacks:
room_item = self.client.models[self.client.user_id, "rooms"][room_id]
room_item.typing_members = sorted(
room.user_name(user_id) for user_id in ev.users
room.user_name(user_id) or user_id for user_id in ev.users
if user_id not in self.client.backend.clients
)