summary refs log tree commit diff
path: root/synapse/config/appservice.py
diff options
context:
space:
mode:
authorWill Hunt <will@half-shot.uk>2020-10-13 11:39:30 +0100
committerWill Hunt <will@half-shot.uk>2020-10-13 11:39:30 +0100
commit3d59aa5303a7246907bbb75a9635ca08a859fc15 (patch)
tree80e9ebd250430bd92a5cfed8a10aefa501a9c074 /synapse/config/appservice.py
parentTidy up comments,docstring and fix lint (diff)
downloadsynapse-hs/push-reports-to-as.tar.xz
Push event reports to appservices github/hs/push-reports-to-as hs/push-reports-to-as
Diffstat (limited to 'synapse/config/appservice.py')
-rw-r--r--synapse/config/appservice.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/appservice.py b/synapse/config/appservice.py

index 746fc3cc02..b6a605a4fb 100644 --- a/synapse/config/appservice.py +++ b/synapse/config/appservice.py
@@ -161,6 +161,7 @@ def _load_appservice(hostname, as_info, config_filename): ip_range_whitelist = IPSet(as_info.get("ip_range_whitelist")) supports_ephemeral = as_info.get("de.sorunome.msc2409.push_ephemeral", False) + send_reports = as_info.get("uk.half-shot.msc???.push_reports", False) return ApplicationService( token=as_info["as_token"], @@ -171,6 +172,7 @@ def _load_appservice(hostname, as_info, config_filename): sender=user_id, id=as_info["id"], supports_ephemeral=supports_ephemeral, + push_reports=send_reports, protocols=protocols, rate_limited=rate_limited, ip_range_whitelist=ip_range_whitelist,