Add all the necessary checks to make banning work.

This commit is contained in:
Erik Johnston 2014-09-01 18:24:56 +01:00
parent 3faa2ae78c
commit b8ab9f1c0a
6 changed files with 54 additions and 6 deletions

View file

@ -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 = [