Log on receipt of verified sync after we've processed the state

FREEBIE
This commit is contained in:
Scott Nonnenberg 2017-06-20 10:52:06 -07:00
parent d7054f4b63
commit 827addf628

View file

@ -296,8 +296,6 @@
var key = ev.verified.identityKey;
var state;
console.log('got verified sync for', number, state);
switch(ev.verified.state) {
case textsecure.protobuf.SyncMessage.Verified.State.DEFAULT:
state = 'DEFAULT';
@ -310,6 +308,8 @@
break;
}
console.log('got verified sync for', number, state);
var contact = ConversationController.get(number);
if (!contact) {
return;