diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-05 21:35:56 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-05 21:35:56 +0100 |
commit | 9dd4570b68fea123fda216b8fc8625fafc9d8e0a (patch) | |
tree | bf87c16f720a7ad34d29d4b2a8b462506c919624 /synapse/api/events | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into develop (diff) | |
download | synapse-9dd4570b68fea123fda216b8fc8625fafc9d8e0a.tar.xz |
Generate m.room.aliases event when the HS creates a room alias
Diffstat (limited to 'synapse/api/events')
-rw-r--r-- | synapse/api/events/room.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/synapse/api/events/room.py b/synapse/api/events/room.py index 33f0f0cb99..3a4dbc58ce 100644 --- a/synapse/api/events/room.py +++ b/synapse/api/events/room.py @@ -173,3 +173,10 @@ class RoomOpsPowerLevelsEvent(SynapseStateEvent): def get_content_template(self): return {} + + +class RoomAliasesEvent(SynapseStateEvent): + TYPE = "m.room.aliases" + + def get_content_template(self): + return {} |