From 1964ca4df320170cf2cfc9ae12101b4b4d81afb5 Mon Sep 17 00:00:00 2001 From: Aevann Date: Mon, 11 Mar 2024 01:29:19 +0200 Subject: [PATCH] fix --- files/routes/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/chat.py b/files/routes/chat.py index 07c2dabb2..7296201d6 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -158,7 +158,7 @@ def speak(data, v): to_notify = [x[0] for x in g.db.query(ChatMembership.user_id).filter( ChatMembership.chat_id == chat_id, - ChatMembership.user_id.notin_(online[request.referrer]), + ChatMembership.user_id.notin_(online[request.referrer].keys()), )] for uid in to_notify: n = ChatNotification(