Tweak key conflict error messages

Be generic, because sometimes it's not TextSecure, but Signal.
This commit is contained in:
lilia 2015-05-07 17:43:30 -07:00
parent 6572c0836f
commit 7799bef86c
2 changed files with 4 additions and 4 deletions

View file

@ -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();

View file

@ -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();