Validate message, topic and name event contents

This commit is contained in:
Erik Johnston 2014-12-12 10:56:14 +00:00
parent fa4b610ae3
commit 63810c777d
3 changed files with 27 additions and 1 deletions

View file

@ -68,3 +68,8 @@ class EventTypes(object):
PowerLevels = "m.room.power_levels"
Aliases = "m.room.aliases"
Redaction = "m.room.redaction"
# These are used for validation
Message = "m.room.message"
Topic = "m.room.topic"
Name = "m.room.name"