add forgotten field

master
Aevann 2023-09-14 00:40:25 +03:00
parent 506bf91dc0
commit ef906cb8da
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)
emit('speak', data, room=request.referrer)
else:
emit('speak', data, room=request.referrer, broadcast=True)
messages[request.referrer][id] = data