mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 03:25:12 +01:00
be strict about the first seq being 0
otherwise if first 2 messages are delivered in reverse order, the queue gets blocked
This commit is contained in:
parent
cadeae98bc
commit
39e9a43a1b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user