Don't mark old messages as read on timer update
This commit is contained in:
parent
fbaf3ba247
commit
e47b00a33c
1 changed files with 1 additions and 2 deletions
|
@ -3820,8 +3820,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
||||||
Math.min(readSync.get('read_at'), Date.now())
|
Math.min(readSync.get('read_at'), Date.now())
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
if (readSync || message.isExpirationTimerUpdate()) {
|
|
||||||
message.unset('unread');
|
message.unset('unread');
|
||||||
// This is primarily to allow the conversation to mark all older
|
// This is primarily to allow the conversation to mark all older
|
||||||
// messages as read, as is done when we receive a read sync for
|
// messages as read, as is done when we receive a read sync for
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue