From 105acd63d86152e99291f044fbd7a0f755855c4c Mon Sep 17 00:00:00 2001 From: Audric Ackermann Date: Thu, 2 Jul 2020 11:48:21 +1000 Subject: [PATCH] reenable isVerifier on contactCollection --- js/models/conversations.js | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/js/models/conversations.js b/js/models/conversations.js index 3709b809d..5fd752552 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -723,15 +723,13 @@ if (!this.contactCollection.length) { return false; } - // console.log('this.contactCollection', this.contactCollection); - // FIXME AUDRIC - return true; - // return this.contactCollection.every(contact => { - // if (contact.isMe()) { - // return true; - // } - // return contact.isVerified(); - // }); + + return this.contactCollection.every(contact => { + if (contact.isMe()) { + return true; + } + return contact.isVerified(); + }); }, async getPrimaryConversation() { if (!this.isSecondaryDevice()) {