diff --git a/js/models/conversations.js b/js/models/conversations.js index ffa667d6f9..3bc7823863 100644 --- a/js/models/conversations.js +++ b/js/models/conversations.js @@ -202,7 +202,7 @@ }.bind(this))); } }, - setTrusted: function() { + setApproved: function() { if (!this.isPrivate()) { throw new Error('You cannot set a group conversation as trusted. ' + 'You must set individual contacts as trusted.'); diff --git a/js/views/message_detail_view.js b/js/views/message_detail_view.js index 1a2af6f982..02ab9d01a1 100644 --- a/js/views/message_detail_view.js +++ b/js/views/message_detail_view.js @@ -52,7 +52,7 @@ return this.model.isUntrusted(); }.bind(this)).then(function(untrusted) { if (untrusted) { - return this.model.setTrusted(); + return this.model.setApproved(); } }.bind(this)).then(function() { this.message.resend(this.outgoingKeyError.number);