Minor fix when generating messages to send.

pull/10/head
Mikunj 6 years ago
parent 73bc3480cb
commit 19491ccbc4

@ -1493,7 +1493,7 @@ NSString *const OWSMessageSenderRateLimitedException = @"RateLimitedException";
messageSend.isUDSend);
// Loki: Since we don't support multi-device sending yet, just send it to the primary device
NSMutableArray<NSNumber *> *deviceIds = @[@(OWSDevicePrimaryDeviceId)];
NSMutableArray<NSNumber *> *deviceIds = [NSMutableArray arrayWithObject:@(OWSDevicePrimaryDeviceId)];
/* Original code:
NSMutableArray<NSNumber *> *deviceIds = [recipient.devices mutableCopy];

Loading…
Cancel
Save