Merge branch 'mkirk/multiple-recipient'

pull/1/head
Michael Kirk 9 years ago
commit f94021df9d

@ -97,7 +97,7 @@ NS_ASSUME_NONNULL_BEGIN
[self contactIntersectionWithSet:[NSSet setWithArray:identifiers] [self contactIntersectionWithSet:[NSSet setWithArray:identifiers]
success:^(NSSet<NSString *> *_Nonnull matchedIds) { success:^(NSSet<NSString *> *_Nonnull matchedIds) {
if (matchedIds.count == 1) { if (matchedIds.count > 0) {
NSMutableArray<SignalRecipient *> *recipients = [NSMutableArray new]; NSMutableArray<SignalRecipient *> *recipients = [NSMutableArray new];
for (NSString *identifier in matchedIds) { for (NSString *identifier in matchedIds) {
[recipients addObject:[SignalRecipient recipientWithTextSecureIdentifier:identifier]]; [recipients addObject:[SignalRecipient recipientWithTextSecureIdentifier:identifier]];

Loading…
Cancel
Save