Fix empty notification on key conflicts
This commit is contained in:
@@ -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');
|
||||||
},
|
},
|
||||||
|
Reference in New Issue
Block a user