Fix bug where a friend request notification is shown when a session reset is received

pull/152/head
sachaaaaa 6 years ago
parent 73d2ad28a3
commit b080828065

@ -979,6 +979,8 @@ MessageReceiver.prototype.extend({
if (!plaintext) {
window.log.warn('handleContentMessage: plaintext was falsey');
return null;
} else if (plaintext instanceof ArrayBuffer && plaintext.byteLength === 0) {
return null;
}
return this.innerHandleContentMessage(envelope, plaintext);
});

Loading…
Cancel
Save