mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-04-24 02:18:15 +01:00
Protos: Move to latest iteration of verification protos
FREEBIE
This commit is contained in:
@@ -309,13 +309,13 @@ MessageSender.prototype = {
|
||||
var myNumber = textsecure.storage.user.getNumber();
|
||||
var myDevice = textsecure.storage.user.getDeviceId();
|
||||
if (myDevice != 1) {
|
||||
var verification = new textsecure.protobuf.SyncMessage.Verification();
|
||||
verification.state = state;
|
||||
verification.destination = destination;
|
||||
verification.identityKey = identityKey;
|
||||
var verified = new textsecure.protobuf.SyncMessage.Verified();
|
||||
verified.state = state;
|
||||
verified.destination = destination;
|
||||
verified.identityKey = identityKey;
|
||||
|
||||
var syncMessage = new textsecure.protobuf.SyncMessage();
|
||||
syncMessage.verification = verification;
|
||||
syncMessage.verified = verified;
|
||||
|
||||
var contentMessage = new textsecure.protobuf.Content();
|
||||
contentMessage.syncMessage = syncMessage;
|
||||
|
||||
Reference in New Issue
Block a user