diff options
author | Erik Johnston <erik@matrix.org> | 2014-12-12 10:56:14 +0000 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-12-12 11:01:09 +0000 |
commit | 63810c777d8c02bc6fefa2a4bcfacb7f4df21ba2 (patch) | |
tree | bc85baa07a4715dab2fd7961c69058a2ac2a267b /synapse/handlers/message.py | |
parent | Fix stream test. Make sure we add join to auth_events for invitiations (diff) | |
download | synapse-63810c777d8c02bc6fefa2a4bcfacb7f4df21ba2.tar.xz |
Validate message, topic and name event contents
Diffstat (limited to 'synapse/handlers/message.py')
-rw-r--r-- | synapse/handlers/message.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/message.py b/synapse/handlers/message.py index f92b01a50f..4fa4ffea25 100644 --- a/synapse/handlers/message.py +++ b/synapse/handlers/message.py @@ -141,7 +141,7 @@ class MessageHandler(BaseHandler): def handle_event(self, event_dict): builder = self.event_builder_factory.new(event_dict) - self.validator.validate(builder) + self.validator.validate_new(builder) if builder.type == EventTypes.Member: membership = builder.content.get("membership", None) |