diff options
author | Neil Alexander <neilalexander@users.noreply.github.com> | 2021-07-21 16:53:50 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 16:53:50 +0100 |
commit | c1447a58e5de5408d80e0de84c0424342121b06c (patch) | |
tree | 860e76d35790c547df26cb554632e9d1cbc76287 /internal/eventutil | |
parent | f0f8c7f0553b55c2e83400ca812b9d64bac00511 (diff) |
Various alias fixes (#1934)
* Generate m.room.canonical_alias instead of legacy m.room.aliases
* Add omitempty tags
* Add aliases endpoint to client API
* Check power levels when setting aliases
* Don't return null on /aliases
* Don't return error if the state event fails
* Update sytest-whitelist
* Don't send updated m.room.canonical_alias events
* Don't check PLs after all because for local aliases they are apparently irrelevant
* Fix some bugs
* Allow deleting a local alias with enough PL
* Fix some more bugs
* Update sytest-whitelist
* Fix copyright notices
* Review comments
Diffstat (limited to 'internal/eventutil')
-rw-r--r-- | internal/eventutil/eventcontent.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/internal/eventutil/eventcontent.go b/internal/eventutil/eventcontent.go index 873e20a8..4ecb5fb5 100644 --- a/internal/eventutil/eventcontent.go +++ b/internal/eventutil/eventcontent.go @@ -53,7 +53,6 @@ func InitialPowerLevelsContent(roomCreator string) (c gomatrixserverlib.PowerLev "m.room.history_visibility": 100, "m.room.canonical_alias": 50, "m.room.avatar": 50, - "m.room.aliases": 0, // anyone can publish aliases by default. Has to be 0 else state_default is used. } c.Users = map[string]int64{roomCreator: 100} return c |