mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-01 03:03:10 -06:00
Fix issue where m.room.name is being filtered by the dendrite server
This commit is contained in:
parent
4bd22ff88b
commit
7771e5fac9
|
|
@ -276,7 +276,7 @@ func (p *PDUStreamProvider) getJoinResponseForCompleteSync(
|
||||||
if !wantFullState {
|
if !wantFullState {
|
||||||
excludingEventIDs = make([]string, 0, len(recentStreamEvents))
|
excludingEventIDs = make([]string, 0, len(recentStreamEvents))
|
||||||
for _, event := range recentStreamEvents {
|
for _, event := range recentStreamEvents {
|
||||||
if event.StateKey() != nil {
|
if event.StateKey() != nil && event.Type() != "m.room.name" {
|
||||||
excludingEventIDs = append(excludingEventIDs, event.EventID())
|
excludingEventIDs = append(excludingEventIDs, event.EventID())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue