Objective-CclassIMDaemonCore
IMDChatRegistry
@interface IMDChatRegistry : NSObject <TUConversationManagerDelegate, IMUnlockMonitorListener>
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- classNSObject
- protocolTUConversationManagerDelegate
- protocolIMUnlockMonitorListener
Members 350
- method
+ (id)sharedInstance; - method
+ (id)supportedServiceNames; - ivar
IMAcceptedContactsChangeNotifier *_acceptedContactsChangeNotifier;+0x78 - ivar
IMDBackgroundMessageProcessingController *_bgstMessageProcessingController;+0x58 - ivar
BOOL _blackholedChatsExistCache;+0x2b - ivar
NSMutableDictionary *_cachedAliasToCNIDMap;+0x70 - ivar
IMDChatStore *_chatStore;+0x50 - ivar
NSMutableDictionary *_chats;+0x20 - ivar
NSMutableDictionary *_chatsByGroupID;+0x8 - ivar
NSRecursiveLock *_chatsLock;+0x10 - ivar
IMDCKUtilities *_ckUtilities;+0x48 - ivar
TUConversationManager *_conversationManager;+0xa0 - ivar
BOOL _doneLoadingAfterMerge;+0x2a - ivar
BOOL _firstUnlockTriggered;+0x29 - ivar
NSRecursiveLock *_handlesLock;+0x18 - ivar
BOOL _hasDumpedLogsForNoExisitingGroup;+0x2c - ivar
NSData *_historyToken;+0x40 - ivar
NSMutableDictionary *_idToHandlesMap;+0x38 - ivar
BOOL _isLoading;+0x28 - ivar
IMDMessageHistorySyncController *_messageHistorySyncController;+0x60 - ivar
NSMutableDictionary *_pendingChatBotHandleToAlternateID;+0x80 - ivar
NSMutableDictionary *_pendingDisplayNameOverrides;+0x90 - ivar
NSMutableSet *_pendingHandleIDsForReload;+0x98 - ivar
NSMutableSet *_pendingParticipantIDSetsForRemerge;+0x88 - ivar
unsigned long long _persistedChatCount;+0x30 - ivar
NSMutableDictionary *_personCentricGroupedChatsCache;+0x68 - method
- (void).cxx_destruct; - method
- (void)__addChatToGroupIDChatIndex:(id)arg0; - method
- (void)__flushPendingForceReloadForHandles; - method
- (void)__removeChatFromGroupIDChatIndex:(id)arg0; - method
- (void)__unassignGroupIDFromAllChats:(id)arg0; - method
- (id)_activeTUConversations; - method
- (id)_addChatFromCacheMiss:(id)arg0 preferExistingChat:(BOOL)arg1; - method
- (id)_addChatsFromCacheMisses:(id)arg0 preferExistingChats:(BOOL)arg1; - method
- (void)_addItem:(id)arg0 toChat:(id)arg1 reason:(long long)arg2; - method
- (void)_addItemToParentChatIfNotLocationItem:(id)arg0 parentChat:(id)arg1 updatedLastMessageCount:(unsigned long long)arg2 reason:(long long)arg3; - method
- (void)_adoptUpdatedStateForExistingItem:(id)arg0 itemFromCKRecord:(id)arg1; - method
- (id)_aliasToCNIDMapForAliases:(id)arg0; - method
- (id)_allChatInfo; - method
- (id)_allHandles; - method
- (id)_bestServiceSessionForService:(id)arg0 accountID:(id)arg1; - method
- (id)_blackholedChatInfoForNumberOfChats:(long long)arg0; - method
- (id)_cachedChatWithGUID:(id)arg0; - method
- (id)_cachedChatsWithGroupID:(id)arg0; - method
- (void)_captureExistingMergedChatsFailureWithOriginalChat:(id)arg0 foundChats:(id)arg1; - method
- (BOOL)_chat:(id)arg0 isDuplicateOfChat:(id)arg1; - method
- (id)_chatForTUConversation:(id)arg0; - method
- (id)_chatForTUGroupID:(id)arg0 participants:(id)arg1; - method
- (id)_chatGUIDToChatMapForChats:(id)arg0; - method
- (void)_chatGUIDsThatNeedRemerging:(id *)arg0 chatDictionaryArray:(id *)arg1 aliasMap:(id)arg2; - method
- (void)_chatGUIDsThatNeedRemerging:(id *)arg0 chatDictionaryArray:(id *)arg1 oldPersonCentricID:(id)arg2; - method
- (void)_chatGUIDsThatNeedUpdates:(id *)arg0 chatDictionaryArray:(id *)arg1 delta:(id)arg2 mergeResult:(id)arg3; - method
- (void)_chatGUIDsToRemergeForAcceptedContactChange:(id /* block */)arg0; - method
- (void)_chatGUIDsToRemergeForContactChange:(id /* block */)arg0; - method
- (id)_chatInfoForChats:(id)arg0; - method
- (id)_chatInfoForConnection; - method
- (id)_chatInfoForNumberOfChats:(long long)arg0; - method
- (id)_chatInfoInRange:(_NSRange)arg0 wantsBlackholed:(BOOL)arg1; - method
- (id)_chatsWithBlackholed:(BOOL)arg0; - method
- (void)_checkForContactChangesWithChangeType:(id)arg0; - method
- (id)_cnIDForHandle:(id)arg0; - method
- (long long)_compareDuplicateChatsWithFirstChat:(id)arg0 secondChat:(id)arg1; - method
- (BOOL)_contactsBasedMergingEnabled; - method
- (void)_contactsChanged:(id)arg0; - method
- (id)_conversationItemForChat:(id)arg0 conversation:(id)arg1; - method
- (id)_copyDuplicateChatsArrayWithLimit:(long long)arg0; - method
- (id)_copyGroupedDuplicateChatsSortedFromWinningToLosingWithLimit:(long long)arg0; - method
- (id)_createGroupChatForConversation:(id)arg0 onSession:(id)arg1; - method
- (id)_createGroupChatsArray; - method
- (BOOL)_ensureNoExistingGroupForSyncData:(id)arg0; - method
- (void)_enumeratePersonMergedChatsWithMaximumNumberOfChats:(long long)arg0 usingChats:(id)arg1 useCachedChatGroups:(BOOL)arg2 includingPinnedChatIdentifiers:(id)arg3 usingBlock:(id /* block */)arg4; - method
- (void)_evictCachedChat:(id)arg0; - method
- (id)_exactGroupChatMatchOrNewestMatchingGroupID:(id)arg0 originalGroupID:(id)arg1 serviceName:(id)arg2 participants:(id)arg3 toIdentifier:(id)arg4 outNewestSiblingChat:(id *)arg5; - method
- (id)_exactGroupChatMatchOrNewestMatchingIdentifierFromSortedIdentifiers:(id)arg0 participants:(id)arg1 toIdentifier:(id)arg2; - method
- (id)_existingChatForSyncData:(id)arg0; - method
- (id)_existingChatsForIDs:(id)arg0 serviceName:(id)arg1 displayName:(id)arg2 groupID:(id)arg3 useOriginalGroupID:(BOOL)arg4 style:(unsigned char)arg5; - method
- (id)_existingChatsSortedByIdentifiersAndRecencyFromSortedIdentifiers:(id)arg0; - method
- (BOOL)_existingItemRequiresUpgrade:(id)arg0 itemFromCKRecord:(id)arg1; - method
- (id)_existingiMessageChatForChatIdentifier:(id)arg0 style:(unsigned char)arg1; - method
- (id)_extractHandlesFromMap:(id)arg0 usingCNID:(id)arg1; - method
- (void)_finalizeIncomingChat:(id)arg0; - method
- (id)_findChatWinnerInDuplicateChatArray:(id)arg0 fixDisplayName:(BOOL *)arg1; - method
- (id)_findExistingGroupChatForConversation:(id)arg0 onSession:(id)arg1; - method
- (id)_findLosingChatGUIDsInArrayOfChats:(id)arg0 withWinner:(id)arg1; - method
- (void)_fixSiblingChatsAndStoreIfNeeded:(id)arg0 iMessageChat:(id)arg1 chatsToRegenerate:(id)arg2; - method
- (void)_fixUpChatParticipantsIfNeeded:(id)arg0; - method
- (void)_fixUpChatParticipantsIfNeeded:(id)arg0 usingChatGUIDToChatMap:(id)arg1; - method
- (id)_forceReloadChat:(id)arg0; - method
- (void)_forceReloadChats:(BOOL)arg0; - method
- (void)_forceReloadChatsWithAnyHandleIDs:(id)arg0; - method
- (id)_generateCurrentAliasToCNIDDictionary; - method
- (id)_groupPhotoUpdateDateForFileTransfer:(id)arg0; - method
- (void)_handleUPIForChat:(id)arg0 toMessage:(id)arg1 hintMessage:(id)arg2; - method
- (id)_handlesWithChangedContactsOriginalMap:(id)arg0 newMap:(id)arg1; - method
- (BOOL)_hasInconsistentGroupPhotoGUIDAcrossMergedChats:(id)arg0; - method
- (BOOL)_hasInconsistentIsFilteredAcrossMergedChats:(id)arg0; - method
- (BOOL)_hasInconsistentJoinStateAcrossMergedChats:(id)arg0; - method
- (BOOL)_hasSavedContactCardForHandle:(id)arg0; - method
- (id)_initiatorForConversation:(id)arg0 chat:(id)arg1; - method
- (void)_insertChatUsingSyncData:(id)arg0; - method
- (id)_itemFromCKRecord:(id)arg0; - method
- (id)_lastIncomingMessageInMessageItems:(id)arg0; - method
- (id)_lookupChatUsingParentChatID:(id)arg0 service:(id)arg1; - method
- (void)_makeAllAttachmentsClassC; - method
- (void)_markForksAsSyncedForChat:(id)arg0; - method
- (void)_markGroupPhotosAsUnpurgeableIfNecessary; - method
- (BOOL)_mergeDuplicateGroupsIfNeeded; - method
- (id)_mergeParticipantIDs:(id)arg0 style:(unsigned char)arg1 displayName:(id)arg2; - method
- (id)_mergedPinningIdentifiersForChats:(id)arg0 chatGUIDToChatMap:(id)arg1 groupedChatsByPersonCentricIdWithSortedChats:(id)arg2; - method
- (id)_messageStore; - method
- (id)_newestExistingChatWithGroupID:(id)arg0 onService:(id)arg1; - method
- (id)_newestGroupChatMatchingParticipants:(id)arg0 displayName:(id)arg1 strictDisplayNameMatching:(BOOL)arg2 serviceName:(id)arg3 toIdentifier:(id)arg4; - method
- (id)_oneToOneChatForRemoteHandle:(id)arg0; - method
- (id)_parentChatIDFromCKRecord:(id)arg0; - method
- (id)_participantIDSetFromHandles:(id)arg0 toIdentifier:(id)arg1; - method
- (void)_performCheckForContactChangesWithChangeType:(long long)arg0; - method
- (void)_performPostUnlockHousekeeping; - method
- (void)_persistMergeIDMergedChatsIfNeeded; - method
- (void)_populateContactIDOnHandles; - method
- (void)_populateLastMessageForChat:(id)arg0; - method
- (id)_potentialGUIDsForIdentifier:(id)arg0; - method
- (id)_preferredGroupPhotoGuidAcrossMergedChats:(id)arg0; - method
- (void)_refreshDomainIdentifiersForChat:(id)arg0; - method
- (void)_reloadChatsForDatabaseMergeOrDatabaseSwitchWithReset:(BOOL)arg0; - method
- (void)_remergeChats:(id)arg0; - method
- (void)_remergeChatsForAcceptedContactsInAliasToCNIDMapWithCompletionHandler:(id /* block */)arg0; - method
- (void)_remergeChatsWithAliasToCNIDMapWithCompletionHandler:(id /* block */)arg0; - method
- (void)_remergeChatsWithParticipantIDsSets:(id)arg0 displayNameOverrides:(id)arg1; - method
- (void)_remergeChatsWithPendingParticipantIDSets; - method
- (void)_repairInconsistentGroupPhotoGuidAcrossMergedChatsIfNecessary:(id)arg0; - method
- (void)_repairInconsistentIsFilteredAcrossMergedChatsIfNecessary:(id)arg0; - method
- (void)_repairInconsistentJoinStatesAcrossMergedChatsIfNecessary:(id)arg0; - method
- (void)_reportMessageDictionaryForMessages:(id)arg0 isAutoReport:(BOOL)arg1 withChat:(id)arg2 conversationID:(id)arg3 maxMessagesToReport:(unsigned long long)arg4 totalMessageCount:(unsigned long long *)arg5 isJunkReportedToCarrier:(BOOL)arg6 reportReason:(unsigned long long)arg7 context:(id)arg8; - method
- (void)_reportMessageDictionaryForMessages:(id)arg0 isAutoReport:(BOOL)arg1 withChat:(id)arg2 conversationID:(id)arg3 maxMessagesToReport:(unsigned long long)arg4 totalMessageCount:(unsigned long long *)arg5 notifyInternalSecurity:(BOOL)arg6 isJunkReportedToCarrier:(BOOL)arg7 reportReason:(unsigned long long)arg8 context:(id)arg9; - method
- (void)_serializeChatsForRemerge:(id)arg0 guidsThatNeedRemerging:(id *)arg1 chatDictionaryArray:(id *)arg2; - method
- (void)_setInitialLoadForTesting:(BOOL)arg0; - method
- (void)_setSortIDOnIncomingMessage:(id)arg0 forChat:(id)arg1; - method
- (id)_sharedMessageStore; - method
- (BOOL)_shouldHandleInternalPhishingAttempts; - method
- (id)_siblingChatsForChat:(id)arg0 usingChatGUIDToChatMap:(id)arg1 iMessageChat:(id *)arg2; - method
- (id)_spamMessageCreator; - method
- (void)_startObservingAcceptedContactChanges; - method
- (void)_submitAndOpenTapToRadarForSortedIdentifiers:(id)arg0 participants:(id)arg1 sortedChats:(id)arg2; - method
- (void)_triggerRemergeForPersonCentricID:(id)arg0; - method
- (id)_tuConversationForChat:(id)arg0; - method
- (id)_uncachedNewestChatWithOriginalGroupID:(id)arg0 onService:(id)arg1; - method
- (void)_updateAcceptedContactsInAliasToCNIDMapWithCompletionHandler:(id /* block */)arg0; - method
- (void)_updateAliasToCNIDMapAndHistoryTokenWithCompletionHandler:(id /* block */)arg0; - method
- (void)_updateBlackholedChatsFromDelta:(id)arg0; - method
- (void)_updateCachedCNIDMapForHandles:(id)arg0; - method
- (void)_updateChat:(id)arg0 usingSyncData:(id)arg1; - method
- (void)_updateHandlesFromDelta:(id)arg0; - method
- (void)_updateLastMessageTimeStampForChat:(id)arg0; - method
- (void)_updateLastMessageTimeStampForChat:(id)arg0 broadcaster:(id)arg1; - method
- (void)_updatePendingReviewForChatsWithGUIDsInBackground:(id)arg0 pendingReview:(BOOL)arg1 completionBlock:(id /* block */)arg2; - method
- (id)_upgradeChatToGroupChat:(id)arg0 forConversation:(id)arg1; - method
- (id)acceptedContactsChangeNotifier; - method
- (void)addChat:(id)arg0; - method
- (void)addChat:(id)arg0 firstLoad:(BOOL)arg1 store:(BOOL)arg2; - method
- (void)addIMDHandleToRegistry:(id)arg0; - method
- (void)addItem:(id)arg0 toChat:(id)arg1; - method
- (void)addMessage:(id)arg0 toChat:(id)arg1; - method
- (void)addMessage:(id)arg0 toChat:(id)arg1 reason:(long long)arg2; - method
- (id)aliasToCNIDMap; - method
- (id)allChats; - method
- (id)allChatsWithIdentifier:(id)arg0 style:(unsigned char)arg1 serviceNames:(id)arg2; - method
- (id)allExistingChatsWithIdentifier:(id)arg0; - method
- (id)allExistingChatsWithIdentifier:(id)arg0 style:(unsigned char)arg1; - method
- (id)allExistingSupportedServiceChatsWithIdentifier:(id)arg0 style:(unsigned char)arg1; - method
- (id)allHandlesForID:(id)arg0; - method
- (id)alternateIDForHandle:(id)arg0; - method
- (void)assignNonHistoricaliMessageIdentifierAndBroadcastForChat:(id)arg0 identifier:(id)arg1; - method
- (id)bestCandidateGroupChatWithFromIdentifier:(id)arg0 toIdentifier:(id)arg1 displayName:(id)arg2 participants:(id)arg3 updatingToLatestiMessageGroupID:(id)arg4 sortedIdentifiers:(id)arg5 serviceName:(id)arg6 shouldUpdateExistingGroupID:(BOOL)arg7; - method
- (id)bestCandidateGroupChatWithFromIdentifier:(id)arg0 toIdentifier:(id)arg1 displayName:(id)arg2 participants:(id)arg3 updatingToLatestiMessageGroupID:(id)arg4 sortedIdentifiers:(id)arg5 serviceName:(id)arg6 shouldUpdateExistingGroupID:(BOOL)arg7 validationOptions:(unsigned long long)arg8 failedValidations:(unsigned long long *)arg9; - method
- (id)bestCandidateGroupChatWithFromIdentifier:(id)arg0 toIdentifier:(id)arg1 displayName:(id)arg2 participants:(id)arg3 updatingToLatestiMessageGroupID:(id)arg4 sortedIdentifiers:(id)arg5 serviceName:(id)arg6 validationOptions:(unsigned long long)arg7 failedValidations:(unsigned long long *)arg8; - method
- (id)bgstMessageProcessingController; - method
- (id)blackholedChats; - method
- (BOOL)blackholedChatsExist; - method
- (id)cachedAliasToCNIDMap; - method
- (unsigned long long)cachedChatCount; - method
- (id)cachedChats; - method
- (id)cachedGroupChatsContainingHandles:(id)arg0; - method
- (id)cachedOneOnOneChatsWithIdentifiers:(id)arg0; - method
- (id)chatForHandle:(id)arg0 account:(id)arg1 chatIdentifier:(id)arg2 guid:(id)arg3 lastAddressedHandle:(id)arg4 lastAddressedSIMID:(id)arg5 isBlackholed:(BOOL)arg6; - method
- (id)chatForHandles:(id)arg0 account:(id)arg1 chatIdentifier:(id)arg2 style:(unsigned char)arg3 groupID:(id)arg4 originalGroupID:(id)arg5 displayName:(id)arg6 guid:(id)arg7 lastAddressedHandle:(id)arg8 lastAddressedSIMID:(id)arg9 isBlackholed:(BOOL)arg10; - method
- (id)chatForRoom:(id)arg0 account:(id)arg1 chatIdentifier:(id)arg2 guid:(id)arg3; - method
- (id)chatStore; - method
- (id)chats; - method
- (id)chatsToUploadToCloudKitWithLimit:(unsigned long long)arg0; - method
- (void)checkBlackholedChatsExistAfterUpdatingChatWithAdd:(BOOL)arg0; - method
- (id)ckUtilities; - method
- (void)clearPendingDeleteTable; - method
- (void)clearRecoverableMessageTombStones; - method
- (id)conversationManager; - method
- (void)conversationManager:(id)arg0 conversation:(id)arg1 addedMembersLocally:(id)arg2; - method
- (id)copyRecordIDsAndGUIDsPendingCloudKitDelete; - method
- (void)dealloc; - method
- (BOOL)doneLoadingAfterMerge; - method
- (id)existingChatForID:(id)arg0; - method
- (id)existingChatForIDs:(id)arg0 account:(id)arg1 displayName:(id)arg2 groupID:(id)arg3 style:(unsigned char)arg4; - method
- (id)existingChatForIDs:(id)arg0 account:(id)arg1 displayName:(id)arg2 originalGroupID:(id)arg3 style:(unsigned char)arg4; - method
- (id)existingChatForIDs:(id)arg0 account:(id)arg1 style:(unsigned char)arg2; - method
- (id)existingChatForRoom:(id)arg0 account:(id)arg1; - method
- (id)existingChatWithEngramID:(id)arg0; - method
- (id)existingChatWithGUID:(id)arg0; - method
- (id)existingChatWithGroupID:(id)arg0 onService:(id)arg1; - method
- (id)existingChatWithIdentifier:(id)arg0 account:(id)arg1; - method
- (id)existingChatsFilteredUsingPredicate:(id)arg0; - method
- (id)existingChatsFilteredUsingPredicate:(id)arg0 sortedUsingLastMessageDateAscending:(BOOL)arg1 limit:(unsigned long long)arg2; - method
- (id)existingChatsFilteredUsingPredicate:(id)arg0 sortedUsingLastMessageDateAscending:(BOOL)arg1 olderThan:(id)arg2 limit:(unsigned long long)arg3; - method
- (id)existingChatsForGroupedIDs:(id)arg0 displayName:(id)arg1 style:(unsigned char)arg2; - method
- (id)existingChatsForIDs:(id)arg0 displayName:(id)arg1 groupID:(id)arg2 style:(unsigned char)arg3; - method
- (id)existingChatsForIDs:(id)arg0 onService:(id)arg1 displayName:(id)arg2 groupID:(id)arg3 style:(unsigned char)arg4; - method
- (id)existingChatsForIDs:(id)arg0 onService:(id)arg1 displayName:(id)arg2 originalGroupID:(id)arg3 style:(unsigned char)arg4; - method
- (id)existingChatsForIDs:(id)arg0 onService:(id)arg1 style:(unsigned char)arg2; - method
- (id)existingChatsWithGroupID:(id)arg0; - method
- (id)existingChatsWithPinningIdentifier:(id)arg0; - method
- (id)existingChatsWithQueryRequest:(id)arg0; - method
- (id)existingMergedChatsWithChat:(id)arg0; - method
- (id)existingOneOnOneChatsWithIdentifiers:(id)arg0; - method
- (id)existingSMSChatForID:(id)arg0; - method
- (id)existingSMSChatForID:(id)arg0 withChatStyle:(unsigned char)arg1; - method
- (id)existingiMessageChatForID:(id)arg0; - method
- (id)existingiMessageChatForID:(id)arg0 withChatStyle:(unsigned char)arg1; - method
- (void)fetchExistingChatsWithQueryRequest:(id)arg0 synchronously:(BOOL)arg1 completionHandler:(id /* block */)arg2; - method
- (void)fetchExistingUnreadChatsOlderThan:(id)arg0 predicate:(id)arg1 limit:(unsigned long long)arg2 completionHandler:(id /* block */)arg3; - method
- (BOOL)filteredChatsExistForServices:(id)arg0; - method
- (BOOL)filterediMessageChatsExist; - method
- (id)generateUnusedChatIdentifierForGroupChatWithAccount:(id)arg0; - method
- (id)groupChatsBasedOnIdentity:(id)arg0; - method
- (id)groupChatsBasedOnIdentityUsingCacheIfApplicable:(id)arg0; - method
- (BOOL)handleMessageUpdate:(id)arg0; - method
- (void)handleMessageUpdateConflictType:(id)arg0 serverRecord:(id)arg1 localRowID:(long long)arg2; - method
- (BOOL)hasDumpedLogsForNoExisitingGroup; - method
- (BOOL)hasKnownSenderChatWithChatIdentifier:(id)arg0; - method
- (BOOL)hasScheduledMessageForHandleID:(id)arg0; - method
- (id)historyToken; - method
- (id)idToHandlesMap; - method
- (id)init; - method
- (void)invalidatePersonCentricGroupedChatsCache; - method
- (BOOL)isBeingSetup; - method
- (BOOL)loadChatsWithCompletionBlock:(id /* block */)arg0; - method
- (unsigned long long)markAsSpamForIDs:(id)arg0 style:(unsigned char)arg1 onServices:(id)arg2 chatID:(id)arg3 conversationID:(id)arg4 queryID:(id)arg5 autoReport:(BOOL)arg6 isJunkReportedToCarrier:(BOOL)arg7 reportReason:(unsigned long long)arg8; - method
- (unsigned long long)markAsSpamForIDs:(id)arg0 style:(unsigned char)arg1 onServices:(id)arg2 chatID:(id)arg3 queryID:(id)arg4 autoReport:(BOOL)arg5; - method
- (unsigned long long)markAsSpamForIDs:(id)arg0 style:(unsigned char)arg1 onServices:(id)arg2 chatID:(id)arg3 queryID:(id)arg4 autoReport:(BOOL)arg5 isJunkReportedToCarrier:(BOOL)arg6; - method
- (void)markChatAsDeferredForSyncingUsingSyncData:(id)arg0; - method
- (void)markDeferredChatsAsNeedingSync; - method
- (id)messageHistorySyncController; - method
- (id)messagesPendingUpdateT1ToCloudKitWithLimit:(unsigned long long)arg0; - method
- (id)messagesPendingUpdateT2ToCloudKitWithLimit:(unsigned long long)arg0; - method
- (id)messagesToUploadToCloudKitWithLimit:(unsigned long long)arg0; - method
- (void)moveMessagesInChatsWithGUIDsToRecentlyDeleted:(id)arg0 filterKeys:(id)arg1 deleteDate:(id)arg2; - method
- (void)moveMessagesWithGUIDsToRecentlyDeleted:(id)arg0 deleteDate:(id)arg1; - method
- (id)newestExistingChatWithOriginalGroupID:(id)arg0 onService:(id)arg1; - method
- (void)pendingAlternateID:(id)arg0 forHandle:(id)arg1; - method
- (id)pendingChatBotHandleToAlternateID; - method
- (id)pendingDisplayNameOverrides; - method
- (id)pendingHandleIDsForReload; - method
- (id)pendingParticipantIDSetsForRemerge; - method
- (void)permanentlyDeleteRecoverableMessagesInChatsWithGUIDs:(id)arg0 completionHandler:(id /* block */)arg1; - method
- (unsigned long long)persistedChatCount; - method
- (id)personCentricGroupedChatsArrayWithMaximumNumberOfChats:(long long)arg0 skipsLastMessageLoading:(BOOL)arg1 usingChats:(id)arg2 useCachedChatGroups:(BOOL)arg3 includingPinnedChatIdentifiers:(id)arg4 repairInconsistentMergedChats:(BOOL)arg5; - method
- (id)personCentricGroupedChatsCache; - method
- (void)processMessageUsingCKRecord:(id)arg0; - method
- (void)processMessageUsingCKRecord:(id)arg0 updatedLastMessageCount:(int)arg1; - method
- (void)recoverMessagesWithChatGUIDs:(id)arg0; - method
- (id)recoverableMessagesMetadata; - method
- (id)recoverableMessagesMetadataPendingCloudKitDeleteWithLimit:(unsigned long long)arg0; - method
- (id)recoverableMessagesMetadataPendingCloudKitSaveWithLimit:(unsigned long long)arg0; - method
- (void)refreshUIWhileSyncing; - method
- (void)removeChat:(id)arg0; - method
- (BOOL)removeIMDHandleFromRegistry:(id)arg0; - method
- (void)removeItem:(id)arg0 fromChat:(id)arg1; - method
- (void)removeMessage:(id)arg0 fromChat:(id)arg1; - method
- (BOOL)repairDuplicateChatsIfNeeded; - method
- (void)repairInconsistentMergedChatsIfNecessary:(id)arg0; - method
- (void)resolveChatConflictUsingSyncData:(id)arg0 localGUID:(id)arg1; - method
- (void)setAcceptedContactsChangeNotifier:(id)arg0; - method
- (void)setCachedAliasToCNIDMap:(id)arg0; - method
- (void)setChatStore:(id)arg0; - method
- (void)setCkUtilities:(id)arg0; - method
- (void)setHasDumpedLogsForNoExisitingGroup:(BOOL)arg0; - method
- (void)setHistoryToken:(id)arg0; - method
- (void)setIdToHandlesMap:(id)arg0; - method
- (void)setPendingChatBotHandleToAlternateID:(id)arg0; - method
- (void)setPendingDisplayNameOverrides:(id)arg0; - method
- (void)setPendingHandleIDsForReload:(id)arg0; - method
- (void)setPendingParticipantIDSetsForRemerge:(id)arg0; - method
- (void)setPersonCentricGroupedChatsCache:(id)arg0; - method
- (void)setUpInitialConversationManager; - method
- (void)simulateMessageReceive:(id)arg0 serviceName:(id)arg1 groupID:(id)arg2 handles:(id)arg3 sender:(id)arg4 date:(id)arg5 associatedMessageType:(long long)arg6 associatedMessageGuid:(id)arg7; - method
- (id)sortPersonCentricChatGroups:(id)arg0; - method
- (id)sortedChatInfoWithLimit:(long long)arg0; - method
- (id)sortedChats; - method
- (id)stringForChatStyle:(unsigned char)arg0; - method
- (void)systemDidLeaveFirstDataProtectionLock; - method
- (void)systemDidUnlock; - method
- (id)truncatedSortedChatsGroupedByPersonCentricID:(id)arg0 count:(long long)arg1 pinnedChatIdentifiers:(id)arg2; - method
- (void)updateCachedChatsSyncStatusTo:(long long)arg0 forGUIDs:(id)arg1; - method
- (void)updateChatUsingSyncData:(id)arg0; - method
- (void)updateChatWithGUID:(id)arg0 serverChangeToken:(id)arg1 recordID:(id)arg2; - method
- (void)updateChatsUsingMessageGUIDsAndSummaries:(id)arg0; - method
- (void)updateChatsUsingMessageGUIDsWithPriority:(id)arg0; - method
- (void)updateFaceTimeGroupName:(id)arg0; - method
- (void)updateFaceTimeGroupPhoto:(id)arg0; - method
- (void)updateLastMessageForChat:(id)arg0 hintMessage:(id)arg1; - method
- (void)updateLastMessageForChat:(id)arg0 hintMessage:(id)arg1 historyQuery:(BOOL)arg2; - method
- (void)updateMeCardHasUpdatedForAllChats; - method
- (void)updateNotificationUnreadCountForChat:(id)arg0; - method
- (void)updatePendingReviewForChatsWithGUIDs:(id)arg0 pendingReview:(BOOL)arg1; - method
- (BOOL)updateProperties:(id)arg0 chat:(id)arg1 style:(unsigned char)arg2; - method
- (void)updateRecoverableMessageSyncState:(long long)arg0 forMessageRowID:(long long)arg1 onPartIndex:(long long)arg2; - method
- (void)updateStateForChat:(id)arg0 forcePost:(BOOL)arg1; - method
- (void)updateStateForChat:(id)arg0 forcePost:(BOOL)arg1 shouldRebuildFailedMessageDate:(BOOL)arg2; - method
- (void)updateStateForChat:(id)arg0 forcePost:(BOOL)arg1 shouldRebuildFailedMessageDate:(BOOL)arg2 setUnreadCountToZero:(BOOL)arg3; - method
- (void)updateStateForChat:(id)arg0 forcePost:(BOOL)arg1 shouldRebuildFailedMessageDate:(BOOL)arg2 shouldCalculateUnreadCount:(BOOL)arg3; - method
- (void)updateStateForChat:(id)arg0 fromMessage:(id)arg1 toMessage:(id)arg2 forcePost:(BOOL)arg3 hintMessage:(id)arg4 shouldRebuildFailedMessageDate:(BOOL)arg5 shouldCalculateUnreadCount:(BOOL)arg6 setUnreadCountToZero:(BOOL)arg7; - method
- (void)updateStateForChat:(id)arg0 hintMessage:(id)arg1; - method
- (void)updateStateForChat:(id)arg0 hintMessage:(id)arg1 shouldRebuildFailedMessageDate:(BOOL)arg2; - method
- (void)updateStateForChat:(id)arg0 hintMessage:(id)arg1 shouldRebuildFailedMessageDate:(BOOL)arg2 setUnreadCountToZero:(BOOL)arg3; - method
- (void)updateStateForChat:(id)arg0 hintMessage:(id)arg1 shouldRebuildFailedMessageDate:(BOOL)arg2 shouldCalculateUnreadCount:(BOOL)arg3; - method
- (BOOL)updateSyncedSyndicationRanges:(id)arg0 forGUID:(id)arg1; - method
- (BOOL)updateUnreadCountForChat:(id)arg0; - method
- (BOOL)userHasRepliedInKnownChatContainingHandle:(id)arg0; - method
- (void)waitForLoadedChatsWithCompletionHandler:(id /* block */)arg0; - property
@property(retain, nonatomic) IMAcceptedContactsChangeNotifier *acceptedContactsChangeNotifier; - property
@property(readonly, nonatomic) NSArray *allChats; - property
@property(readonly, nonatomic) IMDBackgroundMessageProcessingController *bgstMessageProcessingController; - property
@property(retain, nonatomic) NSMutableDictionary *cachedAliasToCNIDMap; - property
@property(readonly, nonatomic) unsigned long long cachedChatCount; - property
@property(readonly, nonatomic) NSArray *cachedChats; - property
@property(retain, nonatomic) IMDChatStore *chatStore; - property
@property(readonly, nonatomic) NSArray *chats; - property
@property(retain, nonatomic) IMDCKUtilities *ckUtilities; - property
@property(readonly, nonatomic) TUConversationManager *conversationManager; - property
@property(readonly, copy) NSString *debugDescription; - property
@property(readonly, copy) NSString *description; - property
@property(nonatomic) BOOL hasDumpedLogsForNoExisitingGroup; - property
@property(readonly) unsigned long long hash; - property
@property(readonly, nonatomic) NSData *historyToken; - property
@property(retain, nonatomic) NSMutableDictionary *idToHandlesMap; - property
@property(readonly, nonatomic) IMDMessageHistorySyncController *messageHistorySyncController; - property
@property(retain, nonatomic) NSMutableDictionary *pendingChatBotHandleToAlternateID; - property
@property(retain, nonatomic) NSMutableDictionary *pendingDisplayNameOverrides; - property
@property(retain, nonatomic) NSMutableSet *pendingHandleIDsForReload; - property
@property(retain, nonatomic) NSMutableSet *pendingParticipantIDSetsForRemerge; - property
@property(readonly, nonatomic) unsigned long long persistedChatCount; - property
@property(retain, nonatomic) NSMutableDictionary *personCentricGroupedChatsCache; - property
@property(readonly, nonatomic) NSArray *sortedChats; - property
@property(readonly) Class superclass;
Header
@interface IMDChatRegistry : NSObject <TUConversationManagerDelegate, IMUnlockMonitorListener> { NSMutableDictionary *_chatsByGroupID; NSRecursiveLock *_chatsLock; NSRecursiveLock *_handlesLock; NSMutableDictionary *_chats; BOOL _isLoading; BOOL _firstUnlockTriggered; BOOL _doneLoadingAfterMerge; BOOL _blackholedChatsExistCache; BOOL _hasDumpedLogsForNoExisitingGroup; unsigned long long _persistedChatCount; NSMutableDictionary *_idToHandlesMap; NSData *_historyToken; IMDCKUtilities *_ckUtilities; IMDChatStore *_chatStore; IMDBackgroundMessageProcessingController *_bgstMessageProcessingController; IMDMessageHistorySyncController *_messageHistorySyncController; NSMutableDictionary *_personCentricGroupedChatsCache; NSMutableDictionary *_cachedAliasToCNIDMap; IMAcceptedContactsChangeNotifier *_acceptedContactsChangeNotifier; NSMutableDictionary *_pendingChatBotHandleToAlternateID; NSMutableSet *_pendingParticipantIDSetsForRemerge; NSMutableDictionary *_pendingDisplayNameOverrides; NSMutableSet *_pendingHandleIDsForReload; TUConversationManager *_conversationManager; } @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; @property (nonatomic, strong) NSMutableDictionary *idToHandlesMap; @property (nonatomic, readonly) NSData *historyToken; @property (nonatomic, strong) IMDCKUtilities *ckUtilities; @property (nonatomic, strong) IMDChatStore *chatStore; @property (nonatomic) BOOL hasDumpedLogsForNoExisitingGroup; @property (nonatomic, readonly) IMDBackgroundMessageProcessingController *bgstMessageProcessingController; @property (nonatomic, readonly) IMDMessageHistorySyncController *messageHistorySyncController; @property (nonatomic, strong) NSMutableDictionary *personCentricGroupedChatsCache; @property (nonatomic, strong) NSMutableDictionary *cachedAliasToCNIDMap; @property (nonatomic, strong) IMAcceptedContactsChangeNotifier *acceptedContactsChangeNotifier; @property (nonatomic, strong) NSMutableDictionary *pendingChatBotHandleToAlternateID; @property (nonatomic, strong) NSMutableSet *pendingParticipantIDSetsForRemerge; @property (nonatomic, strong) NSMutableDictionary *pendingDisplayNameOverrides; @property (nonatomic, strong) NSMutableSet *pendingHandleIDsForReload; @property (nonatomic, readonly) TUConversationManager *conversationManager; @property (nonatomic, readonly) NSArray *chats; @property (nonatomic, readonly) NSArray *allChats; @property (nonatomic, readonly) NSArray *cachedChats; @property (nonatomic, readonly) unsigned long long cachedChatCount; @property (nonatomic, readonly) unsigned long long persistedChatCount; @property (nonatomic, readonly) NSArray *sortedChats; @property (readonly) unsigned long long hash; @property (readonly) Class superclass; @property (copy, readonly) NSString *description; @property (copy, readonly) NSString *debugDescription; + (id)sharedInstance; + (id)supportedServiceNames; - (void)addChat:(id)addChat; - (id)chatStore; - (id)historyToken; - (BOOL)isBeingSetup; - (void)__addChatToGroupIDChatIndex:(id)groupIDChatIndex; - (unsigned long long)markAsSpamForIDs:(id)iDs style:(unsigned char)style onServices:(id)onServices chatID:(id)chatID queryID:(id)queryID autoReport:(BOOL)autoReport; - (id)_cnIDForHandle:(id)handle; - (id)_preferredGroupPhotoGuidAcrossMergedChats:(id)_preferredGroupPhotoGuidAcrossMergedChats; - (void)_submitAndOpenTapToRadarForSortedIdentifiers:(id)sortedIdentifiers participants:(id)participants sortedChats:(id)sortedChats; - (id)_findExistingGroupChatForConversation:(id)conversation onSession:(id)onSession; - (id)aliasToCNIDMap; - (void)_updatePendingReviewForChatsWithGUIDsInBackground:(id)background pendingReview:(BOOL)pendingReview completionBlock:(id /* block */)completionBlock; - (void)updateMeCardHasUpdatedForAllChats; - (id)existingChatsForIDs:(id)iDs displayName:(id)displayName groupID:(id)groupID style:(unsigned char)style; - (void)clearRecoverableMessageTombStones; - (id)truncatedSortedChatsGroupedByPersonCentricID:(id)personCentricID count:(long long)count pinnedChatIdentifiers:(id)pinnedChatIdentifiers; - (void)_chatGUIDsThatNeedUpdates:(id *)_chatGUIDsThatNeedUpdates chatDictionaryArray:(id *)chatDictionaryArray delta:(id)delta mergeResult:(id)mergeResult; - (id)personCentricGroupedChatsArrayWithMaximumNumberOfChats:(long long)chats skipsLastMessageLoading:(BOOL)skipsLastMessageLoading usingChats:(id)usingChats useCachedChatGroups:(BOOL)useCachedChatGroups includingPinnedChatIdentifiers:(id)includingPinnedChatIdentifiers repairInconsistentMergedChats:(BOOL)repairInconsistentMergedChats; - (id)chatForHandles:(id)handles account:(id)account chatIdentifier:(id)chatIdentifier style:(unsigned char)style groupID:(id)groupID originalGroupID:(id)originalGroupID displayName:(id)displayName guid:(id)guid lastAddressedHandle:(id)lastAddressedHandle lastAddressedSIMID:(id)lastAddressedSIMID isBlackholed:(BOOL)isBlackholed; - (void)_makeAllAttachmentsClassC; - (id)bestCandidateGroupChatWithFromIdentifier:(id)identifier toIdentifier:(id)toIdentifier displayName:(id)displayName participants:(id)participants updatingToLatestiMessageGroupID:(id)latestiMessageGroupID sortedIdentifiers:(id)sortedIdentifiers serviceName:(id)serviceName shouldUpdateExistingGroupID:(BOOL)shouldUpdateExistingGroupID validationOptions:(unsigned long long)validationOptions failedValidations:(unsigned long long *)failedValidations; - (id)_upgradeChatToGroupChat:(id)groupChat forConversation:(id)forConversation; - (void)pendingAlternateID:(id)pendingAlternateID forHandle:(id)forHandle; - (id)acceptedContactsChangeNotifier; - (id)allExistingChatsWithIdentifier:(id)identifier style:(unsigned char)style; - (void)_repairInconsistentJoinStatesAcrossMergedChatsIfNecessary:(id)_repairInconsistentJoinStatesAcrossMergedChatsIfNecessary; - (void)repairInconsistentMergedChatsIfNecessary:(id)repairInconsistentMergedChatsIfNecessary; - (id)pendingHandleIDsForReload; - (BOOL)updateProperties:(id)updateProperties chat:(id)chat style:(unsigned char)style; - (void)addItem:(id)addItem toChat:(id)toChat; - (void)_triggerRemergeForPersonCentricID:(id)personCentricID; - (BOOL)_ensureNoExistingGroupForSyncData:(id)syncData; - (void)_populateLastMessageForChat:(id)chat; - (id)_siblingChatsForChat:(id)chat usingChatGUIDToChatMap:(id)chatMap iMessageChat:(id *)iMessageChat; - (void)systemDidLeaveFirstDataProtectionLock; - (void)updateStateForChat:(id)chat hintMessage:(id)hintMessage; - (BOOL)_hasInconsistentJoinStateAcrossMergedChats:(id)_hasInconsistentJoinStateAcrossMergedChats; - (void)_fixUpChatParticipantsIfNeeded:(id)_fixUpChatParticipantsIfNeeded usingChatGUIDToChatMap:(id)chatMap; - (void)updatePendingReviewForChatsWithGUIDs:(id)gUIDs pendingReview:(BOOL)pendingReview; - (id)allExistingChatsWithIdentifier:(id)identifier; - (id)bestCandidateGroupChatWithFromIdentifier:(id)identifier toIdentifier:(id)toIdentifier displayName:(id)displayName participants:(id)participants updatingToLatestiMessageGroupID:(id)latestiMessageGroupID sortedIdentifiers:(id)sortedIdentifiers serviceName:(id)serviceName shouldUpdateExistingGroupID:(BOOL)shouldUpdateExistingGroupID; - (id)_mergeParticipantIDs:(id)_mergeParticipantIDs style:(unsigned char)style displayName:(id)displayName; - (void)setUpInitialConversationManager; - (void)_contactsChanged:(id)_contactsChanged; - (id)existingChatWithIdentifier:(id)identifier account:(id)account; - (id)existingChatsForIDs:(id)iDs onService:(id)onService displayName:(id)displayName groupID:(id)groupID style:(unsigned char)style; - (void)removeChat:(id)removeChat; - (id)_allHandles; - (void)fetchExistingChatsWithQueryRequest:(id)queryRequest synchronously:(BOOL)synchronously completionHandler:(id /* block */)completionHandler; - (void)_updateChat:(id)_updateChat usingSyncData:(id)usingSyncData; - (id)existingChatsForIDs:(id)iDs onService:(id)onService style:(unsigned char)style; - (unsigned long long)markAsSpamForIDs:(id)iDs style:(unsigned char)style onServices:(id)onServices chatID:(id)chatID conversationID:(id)conversationID queryID:(id)queryID autoReport:(BOOL)autoReport isJunkReportedToCarrier:(BOOL)carrier reportReason:(unsigned long long)reportReason; - (void)resolveChatConflictUsingSyncData:(id)syncData localGUID:(id)localGUID; - (void)updateCachedChatsSyncStatusTo:(long long)updateCachedChatsSyncStatusTo forGUIDs:(id)forGUIDs; - (id)_lastIncomingMessageInMessageItems:(id)messageItems; - (id)existingChatWithEngramID:(id)engramID; - (id)newestExistingChatWithOriginalGroupID:(id)originalGroupID onService:(id)onService; - (id)_bestServiceSessionForService:(id)service accountID:(id)accountID; - (id)messagesPendingUpdateT1ToCloudKitWithLimit:(unsigned long long)limit; - (void)_checkForContactChangesWithChangeType:(id)changeType; - (unsigned long long)cachedChatCount; - (id)_exactGroupChatMatchOrNewestMatchingGroupID:(id)groupID originalGroupID:(id)originalGroupID serviceName:(id)serviceName participants:(id)participants toIdentifier:(id)toIdentifier outNewestSiblingChat:(id *)outNewestSiblingChat; - (id)stringForChatStyle:(unsigned char)chatStyle; - (id)_chatGUIDToChatMapForChats:(id)chats; - (void)_updateLastMessageTimeStampForChat:(id)chat; - (id)_existingiMessageChatForChatIdentifier:(id)chatIdentifier style:(unsigned char)style; - (id)generateUnusedChatIdentifierForGroupChatWithAccount:(id)account; - (id)conversationManager; - (id)cachedOneOnOneChatsWithIdentifiers:(id)identifiers; - (id)recoverableMessagesMetadataPendingCloudKitDeleteWithLimit:(unsigned long long)limit; - (BOOL)_contactsBasedMergingEnabled; - (void)__unassignGroupIDFromAllChats:(id)allChats; - (void)__flushPendingForceReloadForHandles; - (void)updateStateForChat:(id)chat forcePost:(BOOL)forcePost; - (id)allHandlesForID:(id)iD; - (id)_existingChatForSyncData:(id)syncData; - (id)messagesToUploadToCloudKitWithLimit:(unsigned long long)limit; - (void)updateStateForChat:(id)chat hintMessage:(id)hintMessage shouldRebuildFailedMessageDate:(BOOL)shouldRebuildFailedMessageDate setUnreadCountToZero:(BOOL)zero; - (id)_handlesWithChangedContactsOriginalMap:(id)changedContactsOriginalMap newMap:(id)newMap; - (void)setPendingHandleIDsForReload:(id)reload; - (void)_remergeChatsWithPendingParticipantIDSets; - (void)_markForksAsSyncedForChat:(id)chat; - (id)existingChatsWithQueryRequest:(id)queryRequest; - (id)allChatsWithIdentifier:(id)identifier style:(unsigned char)style serviceNames:(id)serviceNames; - (void)_performPostUnlockHousekeeping; - (id)_itemFromCKRecord:(id)cKRecord; - (void)setAcceptedContactsChangeNotifier:(id)acceptedContactsChangeNotifier; - (BOOL)_mergeDuplicateGroupsIfNeeded; - (void).cxx_destruct; - (id)existingSMSChatForID:(id)iD withChatStyle:(unsigned char)withChatStyle; - (BOOL)_hasSavedContactCardForHandle:(id)handle; - (void)setHistoryToken:(id)historyToken; - (id)bestCandidateGroupChatWithFromIdentifier:(id)identifier toIdentifier:(id)toIdentifier displayName:(id)displayName participants:(id)participants updatingToLatestiMessageGroupID:(id)latestiMessageGroupID sortedIdentifiers:(id)sortedIdentifiers serviceName:(id)serviceName validationOptions:(unsigned long long)validationOptions failedValidations:(unsigned long long *)failedValidations; - (id)_chatInfoForConnection; - (void)_remergeChatsWithAliasToCNIDMapWithCompletionHandler:(id /* block */)completionHandler; - (void)updateChatsUsingMessageGUIDsAndSummaries:(id)summaries; - (id)_extractHandlesFromMap:(id)map usingCNID:(id)usingCNID; - (id)sortedChats; - (id)_exactGroupChatMatchOrNewestMatchingIdentifierFromSortedIdentifiers:(id)sortedIdentifiers participants:(id)participants toIdentifier:(id)toIdentifier; - (void)updateLastMessageForChat:(id)chat hintMessage:(id)hintMessage historyQuery:(BOOL)historyQuery; - (id)chatsToUploadToCloudKitWithLimit:(unsigned long long)limit; - (BOOL)removeIMDHandleFromRegistry:(id)registry; - (void)dealloc; - (id)messagesPendingUpdateT2ToCloudKitWithLimit:(unsigned long long)limit; - (void)_handleUPIForChat:(id)chat toMessage:(id)toMessage hintMessage:(id)hintMessage; - (void)updateLastMessageForChat:(id)chat hintMessage:(id)hintMessage; - (void)_addItem:(id)_addItem toChat:(id)toChat reason:(long long)reason; - (void)_setSortIDOnIncomingMessage:(id)incomingMessage forChat:(id)forChat; - (id)existingMergedChatsWithChat:(id)chat; - (void)clearPendingDeleteTable; - (id)ckUtilities; - (id)_aliasToCNIDMapForAliases:(id)aliases; - (id)pendingChatBotHandleToAlternateID; - (void)permanentlyDeleteRecoverableMessagesInChatsWithGUIDs:(id)gUIDs completionHandler:(id /* block */)completionHandler; - (id)_uncachedNewestChatWithOriginalGroupID:(id)originalGroupID onService:(id)onService; - (BOOL)hasKnownSenderChatWithChatIdentifier:(id)chatIdentifier; - (id)_addChatsFromCacheMisses:(id)cacheMisses preferExistingChats:(BOOL)preferExistingChats; - (void)updateStateForChat:(id)chat forcePost:(BOOL)forcePost shouldRebuildFailedMessageDate:(BOOL)shouldRebuildFailedMessageDate; - (BOOL)updateSyncedSyndicationRanges:(id)updateSyncedSyndicationRanges forGUID:(id)forGUID; - (id)_sharedMessageStore; - (id)personCentricGroupedChatsCache; - (BOOL)handleMessageUpdate:(id)handleMessageUpdate; - (id)cachedChats; - (id)_chatsWithBlackholed:(BOOL)blackholed; - (void)_fixUpChatParticipantsIfNeeded:(id)_fixUpChatParticipantsIfNeeded; - (id)_mergedPinningIdentifiersForChats:(id)chats chatGUIDToChatMap:(id)chatMap groupedChatsByPersonCentricIdWithSortedChats:(id)sortedChats; - (void)_updateHandlesFromDelta:(id)delta; - (BOOL)_hasInconsistentGroupPhotoGUIDAcrossMergedChats:(id)_hasInconsistentGroupPhotoGUIDAcrossMergedChats; - (id)existingSMSChatForID:(id)iD; - (id)cachedAliasToCNIDMap; - (BOOL)_chat:(id)_chat isDuplicateOfChat:(id)chat; - (void)setPendingDisplayNameOverrides:(id)pendingDisplayNameOverrides; - (BOOL)_shouldHandleInternalPhishingAttempts; - (id)init; - (id)_blackholedChatInfoForNumberOfChats:(long long)chats; - (void)handleMessageUpdateConflictType:(id)handleMessageUpdateConflictType serverRecord:(id)serverRecord localRowID:(long long)localRowID; - (void)checkBlackholedChatsExistAfterUpdatingChatWithAdd:(BOOL)add; - (BOOL)hasDumpedLogsForNoExisitingGroup; - (id)_cachedChatsWithGroupID:(id)groupID; - (void)_reportMessageDictionaryForMessages:(id)messages isAutoReport:(BOOL)isAutoReport withChat:(id)withChat conversationID:(id)conversationID maxMessagesToReport:(unsigned long long)report totalMessageCount:(unsigned long long *)totalMessageCount notifyInternalSecurity:(BOOL)notifyInternalSecurity isJunkReportedToCarrier:(BOOL)carrier reportReason:(unsigned long long)reportReason context:(id)context; - (void)_forceReloadChats:(BOOL)_forceReloadChats; - (void)_evictCachedChat:(id)_evictCachedChat; - (void)setChatStore:(id)chatStore; - (void)updateFaceTimeGroupName:(id)updateFaceTimeGroupName; - (void)updateStateForChat:(id)chat forcePost:(BOOL)forcePost shouldRebuildFailedMessageDate:(BOOL)shouldRebuildFailedMessageDate setUnreadCountToZero:(BOOL)zero; - (BOOL)_existingItemRequiresUpgrade:(id)_existingItemRequiresUpgrade itemFromCKRecord:(id)cKRecord; - (id)_parentChatIDFromCKRecord:(id)cKRecord; - (void)processMessageUsingCKRecord:(id)cKRecord; - (void)setCkUtilities:(id)ckUtilities; - (void)__removeChatFromGroupIDChatIndex:(id)groupIDChatIndex; - (id)chatForHandle:(id)handle account:(id)account chatIdentifier:(id)chatIdentifier guid:(id)guid lastAddressedHandle:(id)lastAddressedHandle lastAddressedSIMID:(id)lastAddressedSIMID isBlackholed:(BOOL)isBlackholed; - (void)removeItem:(id)removeItem fromChat:(id)fromChat; - (id)_tuConversationForChat:(id)chat; - (id)_findChatWinnerInDuplicateChatArray:(id)duplicateChatArray fixDisplayName:(BOOL *)fixDisplayName; - (id)chatForRoom:(id)room account:(id)account chatIdentifier:(id)chatIdentifier guid:(id)guid; - (id)existingChatForRoom:(id)room account:(id)account; - (void)fetchExistingUnreadChatsOlderThan:(id)fetchExistingUnreadChatsOlderThan predicate:(id)predicate limit:(unsigned long long)limit completionHandler:(id /* block */)completionHandler; - (void)markChatAsDeferredForSyncingUsingSyncData:(id)syncData; - (id)existingChatForIDs:(id)iDs account:(id)account displayName:(id)displayName originalGroupID:(id)originalGroupID style:(unsigned char)style; - (id)_findLosingChatGUIDsInArrayOfChats:(id)chats withWinner:(id)withWinner; - (void)setPendingChatBotHandleToAlternateID:(id)alternateID; - (id)existingChatForID:(id)iD; - (id)_chatForTUGroupID:(id)tUGroupID participants:(id)participants; - (void)_fixSiblingChatsAndStoreIfNeeded:(id)storeIfNeeded iMessageChat:(id)iMessageChat chatsToRegenerate:(id)regenerate; - (id)_generateCurrentAliasToCNIDDictionary; - (id)_allChatInfo; - (id)existingiMessageChatForID:(id)iD withChatStyle:(unsigned char)withChatStyle; - (id)_existingChatsForIDs:(id)iDs serviceName:(id)serviceName displayName:(id)displayName groupID:(id)groupID useOriginalGroupID:(BOOL)useOriginalGroupID style:(unsigned char)style; - (id)_oneToOneChatForRemoteHandle:(id)remoteHandle; - (void)setHasDumpedLogsForNoExisitingGroup:(BOOL)noExisitingGroup; - (id)existingChatWithGUID:(id)gUID; - (void)refreshUIWhileSyncing; - (id)_createGroupChatsArray; - (id)alternateIDForHandle:(id)handle; - (BOOL)_hasInconsistentIsFilteredAcrossMergedChats:(id)_hasInconsistentIsFilteredAcrossMergedChats; - (void)_forceReloadChatsWithAnyHandleIDs:(id)anyHandleIDs; - (id)_initiatorForConversation:(id)conversation chat:(id)chat; - (BOOL)repairDuplicateChatsIfNeeded; - (void)removeMessage:(id)removeMessage fromChat:(id)fromChat; - (void)updateStateForChat:(id)chat hintMessage:(id)hintMessage shouldRebuildFailedMessageDate:(BOOL)shouldRebuildFailedMessageDate; - (void)_refreshDomainIdentifiersForChat:(id)chat; - (void)_enumeratePersonMergedChatsWithMaximumNumberOfChats:(long long)chats usingChats:(id)usingChats useCachedChatGroups:(BOOL)useCachedChatGroups includingPinnedChatIdentifiers:(id)includingPinnedChatIdentifiers usingBlock:(id /* block */)usingBlock; - (void)setCachedAliasToCNIDMap:(id)cNIDMap; - (id)_chatInfoForChats:(id)chats; - (BOOL)filteredChatsExistForServices:(id)services; - (void)_reloadChatsForDatabaseMergeOrDatabaseSwitchWithReset:(BOOL)reset; - (void)_captureExistingMergedChatsFailureWithOriginalChat:(id)originalChat foundChats:(id)foundChats; - (void)_chatGUIDsToRemergeForAcceptedContactChange:(id /* block */)acceptedContactChange; - (void)_chatGUIDsToRemergeForContactChange:(id /* block */)contactChange; - (id)_chatInfoForNumberOfChats:(long long)chats; - (void)_remergeChatsForAcceptedContactsInAliasToCNIDMapWithCompletionHandler:(id /* block */)completionHandler; - (void)_markGroupPhotosAsUnpurgeableIfNecessary; - (id)_activeTUConversations; - (id)_cachedChatWithGUID:(id)gUID; - (id)messageHistorySyncController; - (void)_serializeChatsForRemerge:(id)remerge guidsThatNeedRemerging:(id *)guidsThatNeedRemerging chatDictionaryArray:(id *)chatDictionaryArray; - (void)setPendingParticipantIDSetsForRemerge:(id)remerge; - (id)_newestGroupChatMatchingParticipants:(id)participants displayName:(id)displayName strictDisplayNameMatching:(BOOL)strictDisplayNameMatching serviceName:(id)serviceName toIdentifier:(id)toIdentifier; - (id)existingChatWithGroupID:(id)groupID onService:(id)onService; - (id)_chatInfoInRange:(struct _NSRange)range wantsBlackholed:(BOOL)wantsBlackholed; - (void)updateChatWithGUID:(id)gUID serverChangeToken:(id)serverChangeToken recordID:(id)recordID; - (void)_repairInconsistentGroupPhotoGuidAcrossMergedChatsIfNecessary:(id)_repairInconsistentGroupPhotoGuidAcrossMergedChatsIfNecessary; - (void)markDeferredChatsAsNeedingSync; - (void)updateStateForChat:(id)chat hintMessage:(id)hintMessage shouldRebuildFailedMessageDate:(BOOL)shouldRebuildFailedMessageDate shouldCalculateUnreadCount:(BOOL)shouldCalculateUnreadCount; - (id)idToHandlesMap; - (BOOL)updateUnreadCountForChat:(id)chat; - (id)chats; - (void)_updateAliasToCNIDMapAndHistoryTokenWithCompletionHandler:(id /* block */)completionHandler; - (void)_persistMergeIDMergedChatsIfNeeded; - (id)_messageStore; - (void)_repairInconsistentIsFilteredAcrossMergedChatsIfNecessary:(id)_repairInconsistentIsFilteredAcrossMergedChatsIfNecessary; - (id)pendingParticipantIDSetsForRemerge; - (id)_conversationItemForChat:(id)chat conversation:(id)conversation; - (id)_groupPhotoUpdateDateForFileTransfer:(id)fileTransfer; - (void)updateChatUsingSyncData:(id)syncData; - (id)existingChatsForIDs:(id)iDs onService:(id)onService displayName:(id)displayName originalGroupID:(id)originalGroupID style:(unsigned char)style; - (id)_spamMessageCreator; - (void)_updateLastMessageTimeStampForChat:(id)chat broadcaster:(id)broadcaster; - (unsigned long long)markAsSpamForIDs:(id)iDs style:(unsigned char)style onServices:(id)onServices chatID:(id)chatID queryID:(id)queryID autoReport:(BOOL)autoReport isJunkReportedToCarrier:(BOOL)carrier; - (id)copyRecordIDsAndGUIDsPendingCloudKitDelete; - (void)_adoptUpdatedStateForExistingItem:(id)existingItem itemFromCKRecord:(id)cKRecord; - (id)existingOneOnOneChatsWithIdentifiers:(id)identifiers; - (void)systemDidUnlock; - (id)_copyGroupedDuplicateChatsSortedFromWinningToLosingWithLimit:(long long)limit; - (id)sortedChatInfoWithLimit:(long long)limit; - (id)allExistingSupportedServiceChatsWithIdentifier:(id)identifier style:(unsigned char)style; - (void)addMessage:(id)addMessage toChat:(id)toChat; - (void)_insertChatUsingSyncData:(id)syncData; - (void)moveMessagesWithGUIDsToRecentlyDeleted:(id)recentlyDeleted deleteDate:(id)deleteDate; - (void)invalidatePersonCentricGroupedChatsCache; - (BOOL)filterediMessageChatsExist; - (void)moveMessagesInChatsWithGUIDsToRecentlyDeleted:(id)recentlyDeleted filterKeys:(id)filterKeys deleteDate:(id)deleteDate; - (void)addChat:(id)addChat firstLoad:(BOOL)firstLoad store:(BOOL)store; - (void)_updateCachedCNIDMapForHandles:(id)handles; - (id)recoverableMessagesMetadata; - (id)_existingChatsSortedByIdentifiersAndRecencyFromSortedIdentifiers:(id)sortedIdentifiers; - (id)_createGroupChatForConversation:(id)conversation onSession:(id)onSession; - (id)existingChatForIDs:(id)iDs account:(id)account style:(unsigned char)style; - (void)updateNotificationUnreadCountForChat:(id)chat; - (BOOL)doneLoadingAfterMerge; - (void)_remergeChats:(id)_remergeChats; - (id)_participantIDSetFromHandles:(id)handles toIdentifier:(id)toIdentifier; - (void)_populateContactIDOnHandles; - (id)_potentialGUIDsForIdentifier:(id)identifier; - (id)groupChatsBasedOnIdentity:(id)identity; - (id)groupChatsBasedOnIdentityUsingCacheIfApplicable:(id)cacheIfApplicable; - (BOOL)userHasRepliedInKnownChatContainingHandle:(id)handle; - (id)pendingDisplayNameOverrides; - (id)blackholedChats; - (void)waitForLoadedChatsWithCompletionHandler:(id /* block */)completionHandler; - (id)sortPersonCentricChatGroups:(id)sortPersonCentricChatGroups; - (id)existingChatsWithGroupID:(id)groupID; - (id)existingChatsWithPinningIdentifier:(id)pinningIdentifier; - (void)processMessageUsingCKRecord:(id)cKRecord updatedLastMessageCount:(int)updatedLastMessageCount; - (void)simulateMessageReceive:(id)simulateMessageReceive serviceName:(id)serviceName groupID:(id)groupID handles:(id)handles sender:(id)sender date:(id)date associatedMessageType:(long long)associatedMessageType associatedMessageGuid:(id)associatedMessageGuid; - (id)existingChatsFilteredUsingPredicate:(id)predicate sortedUsingLastMessageDateAscending:(BOOL)lastMessageDateAscending limit:(unsigned long long)limit; - (id)_lookupChatUsingParentChatID:(id)parentChatID service:(id)service; - (void)_addItemToParentChatIfNotLocationItem:(id)parentChatIfNotLocationItem parentChat:(id)parentChat updatedLastMessageCount:(unsigned long long)updatedLastMessageCount reason:(long long)reason; - (id)cachedGroupChatsContainingHandles:(id)handles; - (void)recoverMessagesWithChatGUIDs:(id)chatGUIDs; - (void)_finalizeIncomingChat:(id)_finalizeIncomingChat; - (BOOL)hasScheduledMessageForHandleID:(id)handleID; - (void)_updateAcceptedContactsInAliasToCNIDMapWithCompletionHandler:(id /* block */)completionHandler; - (void)setPersonCentricGroupedChatsCache:(id)personCentricGroupedChatsCache; - (id)existingChatsFilteredUsingPredicate:(id)predicate; - (long long)_compareDuplicateChatsWithFirstChat:(id)firstChat secondChat:(id)secondChat; - (void)updateFaceTimeGroupPhoto:(id)updateFaceTimeGroupPhoto; - (id)_newestExistingChatWithGroupID:(id)groupID onService:(id)onService; - (void)_performCheckForContactChangesWithChangeType:(long long)changeType; - (id)allChats; - (id)_addChatFromCacheMiss:(id)cacheMiss preferExistingChat:(BOOL)preferExistingChat; - (void)updateStateForChat:(id)chat forcePost:(BOOL)forcePost shouldRebuildFailedMessageDate:(BOOL)shouldRebuildFailedMessageDate shouldCalculateUnreadCount:(BOOL)shouldCalculateUnreadCount; - (void)addIMDHandleToRegistry:(id)registry; - (BOOL)loadChatsWithCompletionBlock:(id /* block */)completionBlock; - (void)_remergeChatsWithParticipantIDsSets:(id)participantIDsSets displayNameOverrides:(id)displayNameOverrides; - (id)_forceReloadChat:(id)_forceReloadChat; - (id)existingChatForIDs:(id)iDs account:(id)account displayName:(id)displayName groupID:(id)groupID style:(unsigned char)style; - (unsigned long long)persistedChatCount; - (void)_chatGUIDsThatNeedRemerging:(id *)_chatGUIDsThatNeedRemerging chatDictionaryArray:(id *)chatDictionaryArray oldPersonCentricID:(id)oldPersonCentricID; - (id)existingChatsFilteredUsingPredicate:(id)predicate sortedUsingLastMessageDateAscending:(BOOL)lastMessageDateAscending olderThan:(id)olderThan limit:(unsigned long long)limit; - (void)updateRecoverableMessageSyncState:(long long)updateRecoverableMessageSyncState forMessageRowID:(long long)forMessageRowID onPartIndex:(long long)onPartIndex; - (void)_chatGUIDsThatNeedRemerging:(id *)_chatGUIDsThatNeedRemerging chatDictionaryArray:(id *)chatDictionaryArray aliasMap:(id)aliasMap; - (id)_copyDuplicateChatsArrayWithLimit:(long long)limit; - (void)_setInitialLoadForTesting:(BOOL)testing; - (void)assignNonHistoricaliMessageIdentifierAndBroadcastForChat:(id)chat identifier:(id)identifier; - (id)existingChatsForGroupedIDs:(id)groupedIDs displayName:(id)displayName style:(unsigned char)style; - (BOOL)blackholedChatsExist; - (void)updateStateForChat:(id)chat fromMessage:(id)fromMessage toMessage:(id)toMessage forcePost:(BOOL)forcePost hintMessage:(id)hintMessage shouldRebuildFailedMessageDate:(BOOL)shouldRebuildFailedMessageDate shouldCalculateUnreadCount:(BOOL)shouldCalculateUnreadCount setUnreadCountToZero:(BOOL)zero; - (void)addMessage:(id)addMessage toChat:(id)toChat reason:(long long)reason; - (id)_chatForTUConversation:(id)tUConversation; - (void)setIdToHandlesMap:(id)handlesMap; - (void)_updateBlackholedChatsFromDelta:(id)delta; - (id)recoverableMessagesMetadataPendingCloudKitSaveWithLimit:(unsigned long long)limit; - (void)_reportMessageDictionaryForMessages:(id)messages isAutoReport:(BOOL)isAutoReport withChat:(id)withChat conversationID:(id)conversationID maxMessagesToReport:(unsigned long long)report totalMessageCount:(unsigned long long *)totalMessageCount isJunkReportedToCarrier:(BOOL)carrier reportReason:(unsigned long long)reportReason context:(id)context; - (void)_startObservingAcceptedContactChanges; - (void)updateChatsUsingMessageGUIDsWithPriority:(id)priority; - (void)conversationManager:(id)conversationManager conversation:(id)conversation addedMembersLocally:(id)addedMembersLocally; - (id)existingiMessageChatForID:(id)iD; - (id)bgstMessageProcessingController; @end