diff options
| author | Shpuld Shpludson <shp@cock.li> | 2020-09-16 06:59:04 +0000 |
|---|---|---|
| committer | Shpuld Shpludson <shp@cock.li> | 2020-09-16 06:59:04 +0000 |
| commit | c00c20a31fc2c14d64ebaad9b34e8c3307501073 (patch) | |
| tree | 0300d27f312fe660e1adedfaecef09f41bb1e54f /src | |
| parent | 679a1f5e1c0591bd1864b4ff5faa9233a0e53adc (diff) | |
| parent | 92caaa2d7f8cbc74fe14430f9659b3b9d9113b55 (diff) | |
Merge branch 'fix-chat-list-order' into 'develop'
Fix the chat list order update
Closes #955
See merge request pleroma/pleroma-fe!1234
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/chats.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/chats.js b/src/modules/chats.js index c7609018..aef16322 100644 --- a/src/modules/chats.js +++ b/src/modules/chats.js @@ -143,6 +143,7 @@ const chats = { const isNewMessage = (chat.lastMessage && chat.lastMessage.id) !== (updatedChat.lastMessage && updatedChat.lastMessage.id) chat.lastMessage = updatedChat.lastMessage chat.unread = updatedChat.unread + chat.updated_at = updatedChat.updated_at if (isNewMessage && chat.unread) { newChatMessageSideEffects(updatedChat) } |
