fix: chat mark read regression

isekai-main
Barış Soner Uşaklı 1 year ago
parent b5a8941a51
commit f4e2e6176e

@ -154,11 +154,11 @@ define('chat', [
alerts.error(err);
// Revert on failure
module.markChatElUnread($(chatEl), !(state === 1));
module.markChatElUnread($(chatEl), !state);
});
// Immediate feedback
module.markChatElUnread($(chatEl), state === 1);
module.markChatElUnread($(chatEl), state);
};
module.isFromBlockedUser = function (fromUid) {

Loading…
Cancel
Save