mirror of
https://github.com/hoernschen/dendrite.git
synced 2025-07-31 21:32:46 +00:00
Set canonical alias on room creation (#1042)
This commit is contained in:
parent
773d5bb9f9
commit
f4f032381b
2 changed files with 34 additions and 9 deletions
|
@ -36,6 +36,11 @@ type HistoryVisibilityContent struct {
|
|||
HistoryVisibility string `json:"history_visibility"`
|
||||
}
|
||||
|
||||
// CanonicalAlias is the event content for https://matrix.org/docs/spec/client_server/r0.6.0#m-room-canonical-alias
|
||||
type CanonicalAlias struct {
|
||||
Alias string `json:"alias"`
|
||||
}
|
||||
|
||||
// InitialPowerLevelsContent returns the initial values for m.room.power_levels on room creation
|
||||
// if they have not been specified.
|
||||
// http://matrix.org/docs/spec/client_server/r0.2.0.html#m-room-power-levels
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue