Fix unread markers in condensed messages
This commit is contained in:
parent
2c5549a567
commit
e91f2aa024
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user