Closed MauriceVanVeen closed 1 week ago
When a DeleteRange was used to mark deletes, when looping over it with dr.Range(..) it would delete one message too much.
DeleteRange
dr.Range(..)
Compared with a DeleteSlice the DeleteRange also didn't return the correct last for dr.State(). Also being +1 what it should be.
DeleteSlice
last
dr.State()
Signed-off-by: Maurice van Veen github@mauricevanveen.com
When a
DeleteRange
was used to mark deletes, when looping over it withdr.Range(..)
it would delete one message too much.Compared with a
DeleteSlice
theDeleteRange
also didn't return the correctlast
fordr.State()
. Also being +1 what it should be.Signed-off-by: Maurice van Veen github@mauricevanveen.com