Fix for unread syncs and ooo reactions
This commit is contained in:
parent
55f0beaa6d
commit
62e04a1bbd
7 changed files with 178 additions and 102 deletions
|
@ -441,6 +441,7 @@ class MessageReceiverInner extends EventTarget {
|
|||
);
|
||||
|
||||
this.cacheAndHandle(envelope, plaintext, request);
|
||||
this.processedCount += 1;
|
||||
} catch (e) {
|
||||
request.respond(500, 'Bad encrypted websocket message');
|
||||
window.log.error(
|
||||
|
@ -787,7 +788,6 @@ class MessageReceiverInner extends EventTarget {
|
|||
removeFromCache(envelope: EnvelopeClass) {
|
||||
const { id } = envelope;
|
||||
this.cacheRemoveBatcher.add(id);
|
||||
this.processedCount += 1;
|
||||
}
|
||||
|
||||
// Same as handleEnvelope, just without the decryption step. Necessary for handling
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue