mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 20:13:07 +00:00
Fix unread markers in condensed messages
This commit is contained in:
parent
2c5549a567
commit
e91f2aa024
1 changed files with 5 additions and 0 deletions
|
@ -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 a new issue