From 39e9a43a1b365227b5a5bb04e86cfff4763de212 Mon Sep 17 00:00:00 2001 From: Bruno Windels <274386+bwindels@users.noreply.github.com> Date: Tue, 7 Feb 2023 14:42:44 +0100 Subject: [PATCH] be strict about the first seq being 0 otherwise if first 2 messages are delivered in reverse order, the queue gets blocked --- src/matrix/calls/group/Member.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/calls/group/Member.ts b/src/matrix/calls/group/Member.ts index f82c5ddd..fe6e40a4 100644 --- a/src/matrix/calls/group/Member.ts +++ b/src/matrix/calls/group/Member.ts @@ -84,7 +84,7 @@ class MemberConnection { return true; } if (this.lastProcessedSeqNr === undefined) { - return true; + return firstSeq === 0; } // allow messages with both a seq we've just seen and // the next one to be dequeued as it can happen