Log on receipt of verified sync after we've processed the state
FREEBIE
This commit is contained in:
parent
d7054f4b63
commit
827addf628
1 changed files with 2 additions and 2 deletions
|
@ -296,8 +296,6 @@
|
||||||
var key = ev.verified.identityKey;
|
var key = ev.verified.identityKey;
|
||||||
var state;
|
var state;
|
||||||
|
|
||||||
console.log('got verified sync for', number, state);
|
|
||||||
|
|
||||||
switch(ev.verified.state) {
|
switch(ev.verified.state) {
|
||||||
case textsecure.protobuf.SyncMessage.Verified.State.DEFAULT:
|
case textsecure.protobuf.SyncMessage.Verified.State.DEFAULT:
|
||||||
state = 'DEFAULT';
|
state = 'DEFAULT';
|
||||||
|
@ -310,6 +308,8 @@
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log('got verified sync for', number, state);
|
||||||
|
|
||||||
var contact = ConversationController.get(number);
|
var contact = ConversationController.get(number);
|
||||||
if (!contact) {
|
if (!contact) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue