diff options
author | Erik Johnston <erik@matrix.org> | 2014-09-01 18:24:56 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2014-09-01 18:24:56 +0100 |
commit | b8ab9f1c0a93c2c52f2990c42e5cb27167281694 (patch) | |
tree | 039e8304e5b5994f2d94579ce7ef7a60cdad5e9c /synapse/api/events | |
parent | Merge branch 'develop' of github.com:matrix-org/synapse into room_config (diff) | |
download | synapse-b8ab9f1c0a93c2c52f2990c42e5cb27167281694.tar.xz |
Add all the necessary checks to make banning work.
Diffstat (limited to 'synapse/api/events')
-rw-r--r-- | synapse/api/events/__init__.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/api/events/__init__.py b/synapse/api/events/__init__.py index bf8d288acc..9502f5df8f 100644 --- a/synapse/api/events/__init__.py +++ b/synapse/api/events/__init__.py @@ -42,6 +42,7 @@ class SynapseEvent(JsonEncodedObject): "user_id", # sender/initiator "content", # HTTP body, JSON "state_key", + "required_power_level", ] internal_keys = [ @@ -52,6 +53,7 @@ class SynapseEvent(JsonEncodedObject): "destinations", "origin", "outlier", + "power_level", ] required_keys = [ |