Assign JoinedRooms in PDU incremental sync as well (#51)

This commit is contained in:
PiotrKozimor 2022-11-03 16:07:43 +01:00 committed by GitHub
parent 23584d9738
commit 44ac2ce023
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -171,6 +171,7 @@ func (p *PDUStreamProvider) IncrementalSync(
for _, roomID := range syncJoinedRooms {
req.Rooms[roomID] = gomatrixserverlib.Join
}
req.JoinedRooms = syncJoinedRooms
if len(stateDeltas) == 0 {
return to