|
|
@ -178,11 +178,12 @@
|
|
|
|
profile,
|
|
|
|
profile,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// Attach contact list
|
|
|
|
// Attach contact list
|
|
|
|
const syncMessage = await createContactSyncProtoMessage();
|
|
|
|
// TODO: Reenable sending of the syncmessage for pairing requests
|
|
|
|
|
|
|
|
// const syncMessage = await createContactSyncProtoMessage();
|
|
|
|
const content = new textsecure.protobuf.Content({
|
|
|
|
const content = new textsecure.protobuf.Content({
|
|
|
|
pairingAuthorisation,
|
|
|
|
pairingAuthorisation,
|
|
|
|
dataMessage,
|
|
|
|
dataMessage,
|
|
|
|
syncMessage,
|
|
|
|
// syncMessage,
|
|
|
|
});
|
|
|
|
});
|
|
|
|
// Send
|
|
|
|
// Send
|
|
|
|
const options = { messageType: 'pairing-request' };
|
|
|
|
const options = { messageType: 'pairing-request' };
|
|
|
|