setTrusted() -> setApproved() to dismiss the five-second warning
This change makes sense, since there was already a reference in the code to the then-nonexistent setApproved()! FREEBIE
This commit is contained in:
parent
86b1aafe0c
commit
5bba6d3f17
2 changed files with 2 additions and 2 deletions
|
@ -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.');
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue