Fix another bug

This commit is contained in:
Neil Alexander 2022-03-25 12:19:20 +00:00
parent 021f276255
commit 787c04c98a
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -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