mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 11:13:12 -06:00
Fix another bug
This commit is contained in:
parent
021f276255
commit
787c04c98a
|
|
@ -167,14 +167,14 @@ func (p *PDUStreamProvider) IncrementalSync(
|
|||
}
|
||||
}
|
||||
|
||||
if len(stateDeltas) == 0 {
|
||||
return to
|
||||
}
|
||||
|
||||
for _, roomID := range joinedRooms {
|
||||
req.Rooms[roomID] = gomatrixserverlib.Join
|
||||
}
|
||||
|
||||
if len(stateDeltas) == 0 {
|
||||
return to
|
||||
}
|
||||
|
||||
newPos = from
|
||||
for _, delta := range stateDeltas {
|
||||
var pos types.StreamPosition
|
||||
|
|
|
|||
Loading…
Reference in a new issue