From b4960b29d8f17c24c47e131b2407ea7cb97be4c1 Mon Sep 17 00:00:00 2001 From: lilia Date: Thu, 17 Mar 2016 21:40:49 -0700 Subject: [PATCH] Remove newContact attribute This was used as a flag by a UI that no longer exists. Now it erroneously gets saved when creating a conversation from a bare phone number. // FREEBIE --- js/views/conversation_search_view.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/js/views/conversation_search_view.js b/js/views/conversation_search_view.js index fa88fc4be..84e4d9889 100644 --- a/js/views/conversation_search_view.js +++ b/js/views/conversation_search_view.js @@ -89,8 +89,7 @@ this.new_contact_view = new Whisper.NewContactView({ el: this.$new_contact, model: ConversationController.create({ - type: 'private', - newContact: true + type: 'private' }) }).render(); },