statestore: fix missing JoinRules map when initializing MemoryStateStore (#432)
Some checks failed
Go / Lint (latest) (push) Has been cancelled
Go / Build (old, libolm) (push) Has been cancelled
Go / Build (latest, libolm) (push) Has been cancelled
Go / Build (old, goolm) (push) Has been cancelled
Go / Build (latest, goolm) (push) Has been cancelled

This commit is contained in:
Finn 2025-11-17 10:18:46 -08:00 committed by GitHub
commit 346100cfd4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -129,6 +129,7 @@ func NewMemoryStateStore() StateStore {
PowerLevels: make(map[id.RoomID]*event.PowerLevelsEventContent),
Encryption: make(map[id.RoomID]*event.EncryptionEventContent),
Create: make(map[id.RoomID]*event.Event),
JoinRules: make(map[id.RoomID]*event.JoinRulesEventContent),
}
}