fix new messages coming in while viewing historical messages

master
Aevann 2024-11-12 15:36:53 +02:00
parent 7f0791d76b
commit 0f59c402a7
1 changed files with 4 additions and 0 deletions

View File

@ -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
}