mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-26 00:03:09 -06:00
Tweak toOffset
This commit is contained in:
parent
bfed962a13
commit
9312ccc2dc
|
|
@ -79,7 +79,7 @@ func DeviceListCatchup(
|
|||
}
|
||||
var toOffset int64
|
||||
toOffset = sarama.OffsetNewest
|
||||
if toLog := to.DeviceListPosition; toLog.Offset > 0 {
|
||||
if toLog := to.DeviceListPosition; toLog.Partition == partition && toLog.Offset > 0 {
|
||||
toOffset = toLog.Offset
|
||||
}
|
||||
var queryRes api.QueryKeyChangesResponse
|
||||
|
|
|
|||
Loading…
Reference in a new issue