From ef906cb8dae5e80b7afb9c8e4d5f936db0c729d4 Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 14 Sep 2023 00:40:25 +0300 Subject: [PATCH] add forgotten field --- 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 090562dca..d4ec03e10 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) + emit('speak', data, room=request.referrer) else: emit('speak', data, room=request.referrer, broadcast=True) messages[request.referrer][id] = data