i18n 'Received message with unknown identity key'
// FREEBIE
This commit is contained in:
parent
52992a8f12
commit
60fe1e2cea
2 changed files with 2 additions and 2 deletions
|
@ -59,7 +59,7 @@
|
|||
return i18n('sessionEnded');
|
||||
}
|
||||
if (this.isIncoming() && this.hasKeyConflicts()) {
|
||||
return 'Received message with unknown identity key.';
|
||||
return i18n('incomingKeyConflict');
|
||||
}
|
||||
if (this.isIncoming() && this.hasErrors()) {
|
||||
return 'Error handling incoming message.';
|
||||
|
|
|
@ -177,7 +177,7 @@
|
|||
assert.equal(message.getDescription(), i18n('sessionEnded'));
|
||||
|
||||
message = messages.add({type: 'incoming', errors: [{name: 'OutgoingIdentityKeyError'}]});
|
||||
assert.equal(message.getDescription(), 'Received message with unknown identity key.');
|
||||
assert.equal(message.getDescription(), i18n('incomingKeyConflict'));
|
||||
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue