fix sending sync message need to morph set to array

pull/1137/head
Audric Ackermann 5 years ago
parent 47c3bf1449
commit 52d5ce83ed
No known key found for this signature in database
GPG Key ID: 999F434D76324AD4

@ -715,7 +715,7 @@ MessageSender.prototype = {
// We need to sync across 3 contacts at a time
// This is to avoid hitting storage server limit
const chunked = _.chunk(contactsSet, 3);
const chunked = _.chunk([...contactsSet], 3);
const syncMessages = await Promise.all(
chunked.map(c => libloki.api.createContactSyncProtoMessage(c))
);

Loading…
Cancel
Save