mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 13:46:02 -04:00
Validate message, topic and name event contents
This commit is contained in:
parent
fa4b610ae3
commit
63810c777d
3 changed files with 27 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue