logo

pleroma-fe

My custom branche(s) on git.pleroma.social/pleroma/pleroma-fe
commit: c00c20a31fc2c14d64ebaad9b34e8c3307501073
parent 679a1f5e1c0591bd1864b4ff5faa9233a0e53adc
Author: Shpuld Shpludson <shp@cock.li>
Date:   Wed, 16 Sep 2020 06:59:04 +0000

Merge branch 'fix-chat-list-order' into 'develop'

Fix the chat list order update

Closes #955

See merge request pleroma/pleroma-fe!1234

Diffstat:

Msrc/modules/chats.js1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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) }