From 02692e42bdf6c7d62529d0df9e29b277a9d37750 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Mon, 24 Sep 2018 17:02:28 -0600 Subject: [PATCH] remove addressed TODO's --- SignalServiceKit/src/Storage/TSDatabaseView.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/SignalServiceKit/src/Storage/TSDatabaseView.h b/SignalServiceKit/src/Storage/TSDatabaseView.h index 34af97813..5fe4b15b2 100644 --- a/SignalServiceKit/src/Storage/TSDatabaseView.h +++ b/SignalServiceKit/src/Storage/TSDatabaseView.h @@ -32,10 +32,8 @@ extern NSString *const TSLazyRestoreAttachmentsDatabaseViewExtensionName; // otherwise it returns the "unread" database view. + (id)unseenDatabaseViewExtension:(YapDatabaseReadTransaction *)transaction; -// MJK TODO - dynamic interactions + (id)threadOutgoingMessageDatabaseView:(YapDatabaseReadTransaction *)transaction; -// MJK reconsider this? It used to be for SN changes and dynamic interactions. Now maybe only SN changes? + (id)threadSpecialMessagesDatabaseView:(YapDatabaseReadTransaction *)transaction; #pragma mark - Registration @@ -48,7 +46,6 @@ extern NSString *const TSLazyRestoreAttachmentsDatabaseViewExtensionName; + (void)asyncRegisterThreadInteractionsDatabaseView:(OWSStorage *)storage; + (void)asyncRegisterLegacyThreadInteractionsDatabaseView:(OWSStorage *)storage; -// MJK TODO - dynamic interactions + (void)asyncRegisterThreadOutgoingMessagesDatabaseView:(OWSStorage *)storage; // Instances of OWSReadTracking for wasRead is NO and shouldAffectUnreadCounts is YES. @@ -61,7 +58,6 @@ extern NSString *const TSLazyRestoreAttachmentsDatabaseViewExtensionName; // Instances of OWSReadTracking for wasRead is NO. + (void)asyncRegisterUnseenDatabaseView:(OWSStorage *)storage; -// MJK reconsider this? It used to be for SN changes and dynamic interactions. Now maybe only SN changes? + (void)asyncRegisterThreadSpecialMessagesDatabaseView:(OWSStorage *)storage; + (void)asyncRegisterSecondaryDevicesDatabaseView:(OWSStorage *)storage;