mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-03 14:45:12 -04:00
Refactor chat cache to add remoteGXS property to make chat last message more identificable
This commit is contained in:
parent
d3e3f14afd
commit
78fc0bc995
3 changed files with 68 additions and 38 deletions
|
@ -103,6 +103,7 @@ Item
|
|||
{'action': 'refreshUnread', 'response': par.response})
|
||||
json.data.forEach (function (chat){
|
||||
ChatCache.lastMessageCache.updateLastMessageCache(chat.chat_id)
|
||||
ChatCache.lastMessageCache.setRemoteGXS (chat.chat_id, chat.remote_author_id)
|
||||
})
|
||||
}
|
||||
function refreshUnread()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue