mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 14:00:21 +00:00
Fix unread marker not showing after condensed messages
This commit is contained in:
parent
450f3f891a
commit
a21e0e34cd
1 changed files with 4 additions and 1 deletions
|
@ -126,7 +126,6 @@ export default {
|
|||
|
||||
if (lastCondensedContainer === null) {
|
||||
lastCondensedContainer = {
|
||||
id: message.id, // Use id of first message in the condensed container
|
||||
time: message.time,
|
||||
type: "condensed",
|
||||
messages: [],
|
||||
|
@ -136,6 +135,10 @@ export default {
|
|||
}
|
||||
|
||||
lastCondensedContainer.messages.push(message);
|
||||
|
||||
// Set id of the condensed container to last message id,
|
||||
// which is required for the unread marker to work correctly
|
||||
lastCondensedContainer.id = message.id;
|
||||
}
|
||||
|
||||
return condensed;
|
||||
|
|
Loading…
Reference in a new issue