Don't mark old messages as read on timer update
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user