This commit is contained in:
Pierre HUBERT 2021-03-05 17:55:26 +01:00
parent 90e333baf0
commit c9ddb6f172

View File

@ -545,7 +545,7 @@ const SidebarMain = {
li.setAttribute("data-membership-conv-id", conv.id) li.setAttribute("data-membership-conv-id", conv.id)
// Check for unread messages // Check for unread messages
if(!conv.last_activity > conv.members.find(m => m.user_id == userID()).last_access) { if(conv.last_activity > conv.members.find(m => m.user_id == userID()).last_access) {
li.classList.add("has-unread-msg"); li.classList.add("has-unread-msg");
} }