Update protos with support for null messages
// FREEBIE
This commit is contained in:
parent
6e758fc1ea
commit
1e93b12b90
4 changed files with 28 additions and 21 deletions
|
@ -297,13 +297,13 @@
|
|||
var state;
|
||||
|
||||
switch(ev.verified.state) {
|
||||
case textsecure.protobuf.SyncMessage.Verified.State.DEFAULT:
|
||||
case textsecure.protobuf.Verified.State.DEFAULT:
|
||||
state = 'DEFAULT';
|
||||
break;
|
||||
case textsecure.protobuf.SyncMessage.Verified.State.VERIFIED:
|
||||
case textsecure.protobuf.Verified.State.VERIFIED:
|
||||
state = 'VERIFIED';
|
||||
break;
|
||||
case textsecure.protobuf.SyncMessage.Verified.State.UNVERIFIED:
|
||||
case textsecure.protobuf.Verified.State.UNVERIFIED:
|
||||
state = 'UNVERIFIED';
|
||||
break;
|
||||
}
|
||||
|
|
|
@ -39284,7 +39284,7 @@ MessageSender.prototype = {
|
|||
var myNumber = textsecure.storage.user.getNumber();
|
||||
var myDevice = textsecure.storage.user.getDeviceId();
|
||||
if (myDevice != 1) {
|
||||
var verified = new textsecure.protobuf.SyncMessage.Verified();
|
||||
var verified = new textsecure.protobuf.Verified();
|
||||
verified.state = state;
|
||||
verified.destination = destination;
|
||||
verified.identityKey = identityKey;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue