From 7d49737e5dd27d3bdd5590021548ff41a461312f Mon Sep 17 00:00:00 2001 From: Aevann Date: Sat, 16 Sep 2023 02:54:58 +0300 Subject: [PATCH] revert earlier change that caused chat messages by shadowbanned-cels to go through --- 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 52fc3ce48..1b8c08d42 100644 --- a/files/routes/chat.py +++ b/files/routes/chat.py @@ -187,7 +187,7 @@ def speak(data, v): self_only = True if self_only or v.shadowbanned or execute_blackjack(v, None, text, "chat"): - emit('speak', data, room=request.referrer) + emit('speak', data) else: emit('speak', data, room=request.referrer, broadcast=True) messages[request.referrer][id] = data