Merge branch 'charlesmchen/duplicateTimestampFail'

This commit is contained in:
Matthew Chen 2018-02-26 14:45:38 -05:00
commit 57ccde44f0

View File

@ -363,7 +363,7 @@ NSString *const OWSReadReceiptManagerAreReadReceiptsEnabled = @"areReadReceiptsE
ofClass:[TSOutgoingMessage class]
withTransaction:transaction];
if (messages.count > 1) {
OWSFail(@"%@ More than one matching message with timestamp: %llu.", self.logTag, sentTimestamp);
DDLogError(@"%@ More than one matching message with timestamp: %llu.", self.logTag, sentTimestamp);
}
if (messages.count > 0) {
// TODO: We might also need to "mark as read by recipient" any older messages