Fix late view/read sync logic
This commit is contained in:
parent
962515031d
commit
e7be409961
1 changed files with 4 additions and 1 deletions
|
@ -3284,7 +3284,10 @@ export class MessageModel extends window.Backbone.Model<MessageAttributesType> {
|
|||
|
||||
const viewSyncs = ViewSyncs.getSingleton().forMessage(message);
|
||||
|
||||
if (message.get('expireTimer')) {
|
||||
if (
|
||||
(readSyncs.length !== 0 || viewSyncs.length !== 0) &&
|
||||
message.get('expireTimer')
|
||||
) {
|
||||
const existingExpirationStartTimestamp = message.get(
|
||||
'expirationStartTimestamp'
|
||||
);
|
||||
|
|
Loading…
Reference in a new issue