fix: message notification deletion

This commit is contained in:
trisua 2025-09-07 17:07:25 -04:00
parent f3180989af
commit ff1c739367
4 changed files with 39 additions and 2 deletions

View file

@ -116,7 +116,7 @@ function sock_con() {
setTimeout(() => {
clear_notifications();
}, 150);
}, 1000);
} else if (msg.method === "MessageDelete") {
if (document.getElementById(`message_${msg.body}`)) {
document.getElementById(`message_${msg.body}`).remove();