Fix empty notification on key conflicts

pull/749/head
lilia 10 years ago
parent ebdc8650ed
commit 06f4d4456d

@ -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…
Cancel
Save