fix chat blocks not working on 'speak' event

pull/190/head
Aevann 2023-08-11 19:40:28 +03:00
parent 2fe4897220
commit 5d68d55515
1 changed files with 1 additions and 1 deletions

View File

@ -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())) {