forked from MarseyWorld/MarseyWorld
fix new messages coming in while viewing historical messages
parent
7f0791d76b
commit
0f59c402a7
|
@ -39,6 +39,10 @@ function scrolled_down() {
|
|||
}
|
||||
|
||||
socket.on('speak', function(json) {
|
||||
if (location.href.includes('?m=')) {
|
||||
return
|
||||
}
|
||||
|
||||
if (blocked_user_ids.includes(json.user_id.toString())) {
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue