diff --git a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m index 87fad7497..18e387b51 100644 --- a/Signal/src/ViewControllers/ConversationView/ConversationViewController.m +++ b/Signal/src/ViewControllers/ConversationView/ConversationViewController.m @@ -3250,18 +3250,13 @@ typedef enum : NSUInteger { // We want to relayout our contents using the old message mappings and // view items before they are updated. [self.collectionView layoutIfNeeded]; - // ENDHACK to work around radar #28167779) + // ENDHACK to work around radar #28167779 } - (void)uiDatabaseDidUpdate:(NSNotification *)notification { OWSAssertIsOnMainThread(); - DDLogInfo(@"%@ uiDatabaseDidUpdate, connection snapshot: %llu, mappings snapshot: %llu.", - self.logTag, - self.uiDatabaseConnection.snapshot, - self.messageMappings.snapshotOfLastUpdate); - if (!self.shouldObserveDBModifications) { return; } @@ -4875,11 +4870,6 @@ typedef enum : NSUInteger { // Returns NO on error. - (BOOL)reloadViewItems { - DDLogInfo(@"%@ reloadViewItems, connection snapshot: %llu, mappings snapshot: %llu.", - self.logTag, - self.uiDatabaseConnection.snapshot, - self.messageMappings.snapshotOfLastUpdate); - NSMutableArray *viewItems = [NSMutableArray new]; NSMutableDictionary *viewItemCache = [NSMutableDictionary new]; diff --git a/SignalServiceKit/src/Storage/OWSStorage.m b/SignalServiceKit/src/Storage/OWSStorage.m index d4d898dd0..0795e52b1 100644 --- a/SignalServiceKit/src/Storage/OWSStorage.m +++ b/SignalServiceKit/src/Storage/OWSStorage.m @@ -513,7 +513,7 @@ NSString *const kNSUserDefaults_DatabaseExtensionVersionMap = @"kNSUserDefaults_ + (void)incrementVersionOfDatabaseExtension:(NSString *)extensionName { - DDLogError(@"%@ %s", self.logTag, __PRETTY_FUNCTION__); + DDLogError(@"%@ %s %@", self.logTag, __PRETTY_FUNCTION__, extensionName); NSUserDefaults *appUserDefaults = [NSUserDefaults appUserDefaults]; OWSAssert(appUserDefaults);