Skip to content

Commit

Permalink
Don't mark old messages as read on timer update
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed Apr 9, 2021
1 parent fbaf3ba commit e47b00a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ts/models/messages.ts
Expand Up @@ -3820,8 +3820,7 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
Math.min(readSync.get('read_at'), Date.now())
);
}
}
if (readSync || message.isExpirationTimerUpdate()) {

message.unset('unread');
// This is primarily to allow the conversation to mark all older
// messages as read, as is done when we receive a read sync for
Expand Down

0 comments on commit e47b00a

Please sign in to comment.