mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 14:06:02 -04:00
Add all the necessary checks to make banning work.
This commit is contained in:
parent
3faa2ae78c
commit
b8ab9f1c0a
6 changed files with 54 additions and 6 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue