mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-07 23:13:11 -06:00
Assign JoinedRooms in PDU incremental sync as well (#51)
This commit is contained in:
parent
23584d9738
commit
44ac2ce023
|
|
@ -171,6 +171,7 @@ func (p *PDUStreamProvider) IncrementalSync(
|
||||||
for _, roomID := range syncJoinedRooms {
|
for _, roomID := range syncJoinedRooms {
|
||||||
req.Rooms[roomID] = gomatrixserverlib.Join
|
req.Rooms[roomID] = gomatrixserverlib.Join
|
||||||
}
|
}
|
||||||
|
req.JoinedRooms = syncJoinedRooms
|
||||||
|
|
||||||
if len(stateDeltas) == 0 {
|
if len(stateDeltas) == 0 {
|
||||||
return to
|
return to
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue