mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2024-12-23 11:35:04 +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;
|
return true;
|
||||||
}
|
}
|
||||||
if (this.lastProcessedSeqNr === undefined) {
|
if (this.lastProcessedSeqNr === undefined) {
|
||||||
return true;
|
return firstSeq === 0;
|
||||||
}
|
}
|
||||||
// allow messages with both a seq we've just seen and
|
// allow messages with both a seq we've just seen and
|
||||||
// the next one to be dequeued as it can happen
|
// the next one to be dequeued as it can happen
|
||||||
|
Loading…
Reference in New Issue
Block a user