Only send 'sent message transcript' sync messages using UD.

This commit is contained in:
Matthew Chen 2018-10-19 14:38:12 -04:00
parent 94c7b72361
commit 55369a1ca3

View File

@ -1016,7 +1016,6 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
OWSLogWarn(@"Sending a message with no device messages.");
}
OWSLogVerbose(@"sending to recipient.recipientId: %@", recipient.recipientId);
if ([message isKindOfClass:[OWSOutgoingSyncMessage class]]
&& ![message isKindOfClass:[OWSOutgoingSentMessageTranscript class]]) {
[messageSend disableUD];