diff options
Diffstat (limited to 'common/eventcontent.go')
-rw-r--r-- | common/eventcontent.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/eventcontent.go b/common/eventcontent.go index f3817ba6..e7e1a2c8 100644 --- a/common/eventcontent.go +++ b/common/eventcontent.go @@ -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 |