forked from MarseyWorld/MarseyWorld
revert earlier change that caused chat messages by shadowbanned-cels to go through
parent
a9a16c8376
commit
7d49737e5d
|
@ -187,7 +187,7 @@ def speak(data, v):
|
||||||
self_only = True
|
self_only = True
|
||||||
|
|
||||||
if self_only or v.shadowbanned or execute_blackjack(v, None, text, "chat"):
|
if self_only or v.shadowbanned or execute_blackjack(v, None, text, "chat"):
|
||||||
emit('speak', data, room=request.referrer)
|
emit('speak', data)
|
||||||
else:
|
else:
|
||||||
emit('speak', data, room=request.referrer, broadcast=True)
|
emit('speak', data, room=request.referrer, broadcast=True)
|
||||||
messages[request.referrer][id] = data
|
messages[request.referrer][id] = data
|
||||||
|
|
Loading…
Reference in New Issue