Add temporary verbose logging around message creation.
This commit is contained in:
parent
c4fa6a1bb5
commit
7200a8dc4d
|
@ -63,6 +63,14 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
_sourceDeviceId = sourceDeviceId;
|
||||
_read = NO;
|
||||
|
||||
DDLogInfo(@"%@ --- TSIncomingMessage init: %@, %llu, %llu, %llu",
|
||||
self.logTag,
|
||||
self.debugDescription,
|
||||
self.timestamp,
|
||||
self.timestampForSorting,
|
||||
[NSDate ows_millisecondTimeStamp]);
|
||||
[DDLog flushLog];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
|
@ -145,6 +145,14 @@ NS_ASSUME_NONNULL_BEGIN
|
|||
TSThread *fetchedThread = [TSThread fetchObjectWithUniqueID:self.uniqueThreadId transaction:transaction];
|
||||
|
||||
[fetchedThread updateWithLastMessage:self transaction:transaction];
|
||||
|
||||
DDLogInfo(@"%@ --- saveWithTransaction: %@, %llu, %llu, %llu",
|
||||
self.logTag,
|
||||
self.debugDescription,
|
||||
self.timestamp,
|
||||
self.timestampForSorting,
|
||||
[NSDate ows_millisecondTimeStamp]);
|
||||
[DDLog flushLog];
|
||||
}
|
||||
|
||||
- (void)removeWithTransaction:(YapDatabaseReadWriteTransaction *)transaction
|
||||
|
|
|
@ -350,6 +350,14 @@ NSString *NSStringForOutgoingMessageRecipientState(OWSOutgoingMessageRecipientSt
|
|||
}
|
||||
self.recipientStateMap = [recipientStateMap copy];
|
||||
|
||||
DDLogInfo(@"%@ --- TSOutgoingMessage init: %@, %llu, %llu, %llu",
|
||||
self.logTag,
|
||||
self.debugDescription,
|
||||
self.timestamp,
|
||||
self.timestampForSorting,
|
||||
[NSDate ows_millisecondTimeStamp]);
|
||||
[DDLog flushLog];
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue