Merge pull request #152 from sachaaaaa/fix_friendrequest_notification_when_sessionreset

Suppress friend request notification for session reset
pull/147/head
sachaaaaa 6 years ago committed by GitHub
commit 70cf54dae2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -977,6 +977,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