mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-16 18:43:10 -06:00
Remove unneeded change
This commit is contained in:
parent
884b1fa577
commit
581893b261
|
|
@ -206,11 +206,6 @@ func OnIncomingMessagesRequest(
|
||||||
}
|
}
|
||||||
if backwardOrdering {
|
if backwardOrdering {
|
||||||
from = token
|
from = token
|
||||||
} else {
|
|
||||||
// Increment, so we would get events the user isn't allowed to see anymore
|
|
||||||
token.Depth++
|
|
||||||
token.PDUPosition++
|
|
||||||
to = token
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue