Merge branch 'charlesmchen/skippedSends'

pull/1/head
Matthew Chen 6 years ago
commit 5c63f7f254

@ -501,6 +501,12 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
}];
}
if (sendingRecipientIds.count < 1) {
// All recipients are already sent or can be skipped.
successHandler();
return;
}
NSError *error;
NSArray<SignalRecipient *> *recipients =
[self getRecipientsForRecipientIds:sendingRecipientIds.allObjects error:&error];

Loading…
Cancel
Save