From e91f2aa02405e7194de2329440c88fe6025e37e5 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Mon, 23 Jul 2018 12:27:52 +0300 Subject: [PATCH] Fix unread markers in condensed messages --- client/components/MessageList.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/components/MessageList.vue b/client/components/MessageList.vue index 7c341737..55c7df86 100644 --- a/client/components/MessageList.vue +++ b/client/components/MessageList.vue @@ -139,6 +139,11 @@ export default { // Set id of the condensed container to last message id, // which is required for the unread marker to work correctly lastCondensedContainer.id = message.id; + + // If this message is the unread boundary, create a split condensed container + if (message.id === this.channel.firstUnread) { + lastCondensedContainer = null; + } } return condensed;