FIX: depth buffer can skip old event if event.FinalUpdateID <= buffer.FinalUpdateID

This commit is contained in:
kbearXD 2024-11-16 15:49:32 +08:00
parent cd6393fa3f
commit 319b8139a1

View File

@ -158,7 +158,7 @@ func (b *Buffer) fetchAndPush() error {
var pushUpdates []Update
for _, u := range b.buffer {
// skip old events
if u.FirstUpdateID < finalUpdateID+1 {
if u.FinalUpdateID <= finalUpdateID {
continue
}