diff --git a/js/background.js b/js/background.js index 16d6d0f11ab8..2ca0b2df8770 100644 --- a/js/background.js +++ b/js/background.js @@ -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;