Fix empty notification on key conflicts

This commit is contained in:
lilia 2015-03-20 10:47:58 -07:00
parent ebdc8650ed
commit 06f4d4456d

View file

@ -50,6 +50,9 @@
if (this.isEndSession()) {
return 'Secure session ended';
}
if (this.isIncoming() && this.hasKeyConflicts()) {
return 'Received message with unknown identity key.';
}
return this.get('body');
},