summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2019-06-14 19:38:44 +0100
committerBrendan Abolivier <babolivier@matrix.org>2019-06-14 19:38:44 +0100
commit5c4296b47a9f4c77da99a03c420e12ec33ccd3b0 (patch)
treea93bce0e96ecaef07ba9f4f42b084d75d6442319 /docs
parentMerge pull request #5466 from matrix-org/babolivier/fix_deactivation_bg_job (diff)
parentAdd plugin APIs for implementations of custom event rules. (diff)
downloadsynapse-5c4296b47a9f4c77da99a03c420e12ec33ccd3b0.tar.xz
Merge branch 'babolivier/third_party_event_rules' into dinsic
Diffstat (limited to 'docs')
-rw-r--r--docs/sample_config.yaml13
1 files changed, 13 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml

index d4ff533443..b7c83ceb97 100644 --- a/docs/sample_config.yaml +++ b/docs/sample_config.yaml
@@ -1443,3 +1443,16 @@ password_config: # alias: "*" # room_id: "*" # action: allow + + +# Server admins can define a Python module that implements extra rules for +# allowing or denying incoming events. In order to work, this module needs to +# override the methods defined in synapse/events/third_party_rules.py. +# +# This feature is designed to be used in closed federations only, where each +# participating server enforces the same rules. +# +#third_party_event_rules: +# module: "my_custom_project.SuperRulesSet" +# config: +# example_option: 'things'