Tweak key conflict error messages
Be generic, because sometimes it's not TextSecure, but Signal.
This commit is contained in:
parent
6572c0836f
commit
7799bef86c
2 changed files with 4 additions and 4 deletions
|
@ -51,7 +51,7 @@
|
|||
|
||||
});
|
||||
this.name = 'IncomingIdentityKeyError';
|
||||
this.message = "The identity of the sender has changed. This may be malicious, or the sender may have simply reinstalled TextSecure.";
|
||||
this.message = "The identity of the sender has changed. This may be malicious, or the sender may have simply reinstalled.";
|
||||
this.number = number.split('.')[0];
|
||||
}
|
||||
IncomingIdentityKeyError.prototype = new ReplayableError();
|
||||
|
@ -63,7 +63,7 @@
|
|||
args : [number, message, timestamp]
|
||||
});
|
||||
this.name = 'OutgoingIdentityKeyError';
|
||||
this.message = "The identity of the destination has changed. This may be malicious, or the destination may have simply reinstalled TextSecure.";
|
||||
this.message = "The identity of the destination has changed. This may be malicious, or the destination may have simply reinstalled.";
|
||||
this.number = number.split('.')[0];
|
||||
}
|
||||
OutgoingIdentityKeyError.prototype = new ReplayableError();
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
|
||||
});
|
||||
this.name = 'IncomingIdentityKeyError';
|
||||
this.message = "The identity of the sender has changed. This may be malicious, or the sender may have simply reinstalled TextSecure.";
|
||||
this.message = "The identity of the sender has changed. This may be malicious, or the sender may have simply reinstalled.";
|
||||
this.number = number.split('.')[0];
|
||||
}
|
||||
IncomingIdentityKeyError.prototype = new ReplayableError();
|
||||
|
@ -62,7 +62,7 @@
|
|||
args : [number, message, timestamp]
|
||||
});
|
||||
this.name = 'OutgoingIdentityKeyError';
|
||||
this.message = "The identity of the destination has changed. This may be malicious, or the destination may have simply reinstalled TextSecure.";
|
||||
this.message = "The identity of the destination has changed. This may be malicious, or the destination may have simply reinstalled.";
|
||||
this.number = number.split('.')[0];
|
||||
}
|
||||
OutgoingIdentityKeyError.prototype = new ReplayableError();
|
||||
|
|
Loading…
Reference in a new issue