From 78e963404a24c1bfcb1264b6246d180bf126e70f Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Sat, 8 Dec 2018 19:33:10 -0500 Subject: [PATCH] remove overzealous assert, since we now sometimes post notification without threadId --- .../src/ViewControllers/ConversationView/ConversationViewModel.m | 1 - Signal/src/ViewControllers/HomeView/HomeViewCell.m | 1 - 2 files changed, 2 deletions(-) diff --git a/Signal/src/ViewControllers/ConversationView/ConversationViewModel.m b/Signal/src/ViewControllers/ConversationView/ConversationViewModel.m index 2327d4a6a..308039342 100644 --- a/Signal/src/ViewControllers/ConversationView/ConversationViewModel.m +++ b/Signal/src/ViewControllers/ConversationView/ConversationViewModel.m @@ -1349,7 +1349,6 @@ static const int kYapDatabaseRangeMinLength = 0; - (void)typingIndicatorStateDidChange:(NSNotification *)notification { OWSAssertIsOnMainThread(); - OWSAssertDebug([notification.object isKindOfClass:[NSString class]]); OWSAssertDebug(self.thread); if (notification.object && ![notification.object isEqual:self.thread.uniqueId]) { diff --git a/Signal/src/ViewControllers/HomeView/HomeViewCell.m b/Signal/src/ViewControllers/HomeView/HomeViewCell.m index 63e838c81..64ff742b9 100644 --- a/Signal/src/ViewControllers/HomeView/HomeViewCell.m +++ b/Signal/src/ViewControllers/HomeView/HomeViewCell.m @@ -545,7 +545,6 @@ NS_ASSUME_NONNULL_BEGIN - (void)typingIndicatorStateDidChange:(NSNotification *)notification { OWSAssertIsOnMainThread(); - OWSAssertDebug([notification.object isKindOfClass:[NSString class]]); OWSAssertDebug(self.thread); if (notification.object && ![notification.object isEqual:self.thread.threadRecord.uniqueId]) {