Fixing cache clearing bug

pull/62/head
Beaudan 7 years ago
parent 4309a10ebc
commit 7c92eeac30

@ -1019,6 +1019,7 @@ MessageReceiver.prototype.extend({
} else if (content.receiptMessage) {
return this.handleReceiptMessage(envelope, content.receiptMessage);
}
this.removeFromCache(envelope);
if (envelope.preKeyBundleMessage) return null;
throw new Error('Unsupported content message');

Loading…
Cancel
Save