mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-26 05:49:22 +00:00
Update
This commit is contained in:
parent
90e333baf0
commit
c9ddb6f172
@ -545,7 +545,7 @@ const SidebarMain = {
|
||||
li.setAttribute("data-membership-conv-id", conv.id)
|
||||
|
||||
// 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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user