mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-04 12:43:10 -06:00
Fix global account data
This commit is contained in:
parent
5503d27640
commit
298b59b549
|
|
@ -55,7 +55,7 @@ func (p *AccountDataStreamProvider) IncrementalSync(
|
||||||
for roomID, dataTypes := range dataTypes {
|
for roomID, dataTypes := range dataTypes {
|
||||||
// For a complete sync, make sure we're only including this room if
|
// For a complete sync, make sure we're only including this room if
|
||||||
// that room was present in the joined rooms.
|
// that room was present in the joined rooms.
|
||||||
if from == 0 && !req.IsRoomPresent(roomID) {
|
if from == 0 && roomID != "" && !req.IsRoomPresent(roomID) {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue