fix: chat mark read regression

isekai-main
Barış Soner Uşaklı 2 years ago
parent b5a8941a51
commit f4e2e6176e

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

Loading…
Cancel
Save