mirror of
https://github.com/nextcloud/ocsms.git
synced 2026-08-11 16:32:55 +00:00
Added table to store last read date. This permit to set unread messages on first refresh of contact list. We need to handle it at first load too
Note: this is an experimental thing. We need to set this cursor for every conversation to get better precision
This commit is contained in:
@@ -264,6 +264,8 @@ function fetchInitialPeerList(jsondata) {
|
||||
}
|
||||
});
|
||||
|
||||
lastMsgDate = jsondata["lastRead"];
|
||||
|
||||
// Only modify peerList if there is peers
|
||||
if (peerListBuf != '') {
|
||||
$('#app-mailbox-peers ul').html(peerListBuf);
|
||||
|
||||
Reference in New Issue
Block a user