From 3a77a0288f42160021367df51de44b3e1b8e26a6 Mon Sep 17 00:00:00 2001 From: miruka Date: Sat, 4 Apr 2020 07:30:58 -0400 Subject: [PATCH] Use user ID for unknown typing users in room --- src/backend/nio_callbacks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/nio_callbacks.py b/src/backend/nio_callbacks.py index 1dc10654..580a6d0b 100644 --- a/src/backend/nio_callbacks.py +++ b/src/backend/nio_callbacks.py @@ -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 )