|
|
@ -1614,9 +1614,9 @@ NS_ASSUME_NONNULL_BEGIN
|
|
|
|
// Update thread preview in inbox
|
|
|
|
// Update thread preview in inbox
|
|
|
|
[masterThread touchWithTransaction:transaction];
|
|
|
|
[masterThread touchWithTransaction:transaction];
|
|
|
|
|
|
|
|
|
|
|
|
[SSKEnvironment.shared.notificationsManager notifyUserForIncomingMessage:incomingMessage
|
|
|
|
if (CurrentAppContext().isMainAppAndActive) {
|
|
|
|
inThread:masterThread
|
|
|
|
[SSKEnvironment.shared.notificationsManager notifyUserForIncomingMessage:incomingMessage inThread:masterThread transaction:transaction];
|
|
|
|
transaction:transaction];
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
|
dispatch_async(dispatch_get_main_queue(), ^{
|
|
|
|
[self.typingIndicators didReceiveIncomingMessageInThread:masterThread
|
|
|
|
[self.typingIndicators didReceiveIncomingMessageInThread:masterThread
|
|
|
|