trigger send for all devices of a closed group message

pull/1183/head
Audric Ackermann 5 years ago
parent 9ec0c8e6a8
commit 4867a560d0
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -91,7 +91,7 @@ export class MessageQueue implements MessageQueueInterface {
const recipients = await GroupUtils.getGroupMembers(groupPubKey);
if (recipients.length) {
await this.sendMessageToDevices(recipients, message);
await Promise.all(recipients.map(async recipient => this.sendUsingMultiDevice(recipient, message)));
return true;
}

Loading…
Cancel
Save