Fix empty notification on key conflicts
This commit is contained in:
parent
ebdc8650ed
commit
06f4d4456d
1 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,9 @@
|
||||||
if (this.isEndSession()) {
|
if (this.isEndSession()) {
|
||||||
return 'Secure session ended';
|
return 'Secure session ended';
|
||||||
}
|
}
|
||||||
|
if (this.isIncoming() && this.hasKeyConflicts()) {
|
||||||
|
return 'Received message with unknown identity key.';
|
||||||
|
}
|
||||||
|
|
||||||
return this.get('body');
|
return this.get('body');
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue