forked from MarseyWorld/MarseyWorld
fix chat blocks not working on 'speak' event
parent
2fe4897220
commit
5d68d55515
|
@ -64,7 +64,7 @@ function flash(){
|
|||
}
|
||||
|
||||
|
||||
const blocked_user_ids = document.getElementById('blocked_user_ids').value.split(',')
|
||||
const blocked_user_ids = document.getElementById('blocked_user_ids').value.split(', ')
|
||||
|
||||
socket.on('speak', function(json) {
|
||||
if (blocked_user_ids.includes(json.user_id.toString())) {
|
||||
|
|
Loading…
Reference in New Issue