|
|
@ -1396,15 +1396,9 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
|
|
|
|
if (message.hasSyncedTranscript) {
|
|
|
|
if (message.hasSyncedTranscript) {
|
|
|
|
shouldSendTranscript = YES;
|
|
|
|
shouldSendTranscript = YES;
|
|
|
|
} else if (AreRecipientUpdatesEnabled()) {
|
|
|
|
} else if (AreRecipientUpdatesEnabled()) {
|
|
|
|
__block BOOL isGroupThread = NO;
|
|
|
|
|
|
|
|
[self.dbConnection readWithBlock:^(YapDatabaseReadTransaction *transaction) {
|
|
|
|
|
|
|
|
isGroupThread = [message threadWithTransaction:transaction].isGroupThread;
|
|
|
|
|
|
|
|
}];
|
|
|
|
|
|
|
|
if (isGroupThread) {
|
|
|
|
|
|
|
|
shouldSendTranscript = YES;
|
|
|
|
shouldSendTranscript = YES;
|
|
|
|
isRecipientUpdate = YES;
|
|
|
|
isRecipientUpdate = YES;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (!shouldSendTranscript) {
|
|
|
|
if (!shouldSendTranscript) {
|
|
|
|
return success();
|
|
|
|
return success();
|
|
|
|