Don’t update expiration for messages twice.

// FREEBIE
pull/1/head
Matthew Chen 8 years ago
parent 027cd8cb34
commit c18a670d6b

@ -3569,7 +3569,7 @@ typedef enum : NSUInteger {
} }
DDLogError(@"Marking %zd messages as read.", interactions.count); DDLogError(@"Marking %zd messages as read.", interactions.count);
for (id<OWSReadTracking> possiblyRead in interactions) { for (id<OWSReadTracking> possiblyRead in interactions) {
[possiblyRead markAsReadWithTransaction:transaction sendReadReceipt:YES]; [possiblyRead markAsReadWithTransaction:transaction sendReadReceipt:YES updateExpiration:YES];
} }
}]; }];
} }

Loading…
Cancel
Save