revert earlier change that caused chat messages by shadowbanned-cels to go through

master
Aevann 2023-09-16 02:54:58 +03:00
parent a9a16c8376
commit 7d49737e5d
1 changed files with 1 additions and 1 deletions

View File

@ -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