summary refs log tree commit diff
path: root/synapse/appservice/__init__.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/appservice/__init__.py
parentTidy up comments,docstring and fix lint (diff)
downloadsynapse-github/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/appservice/__init__.py')
-rw-r--r--synapse/appservice/__init__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/appservice/__init__.py b/synapse/appservice/__init__.py

index d4a2f02fc2..6b5b66029f 100644 --- a/synapse/appservice/__init__.py +++ b/synapse/appservice/__init__.py
@@ -61,6 +61,7 @@ class ApplicationService: rate_limited=True, ip_range_whitelist=None, supports_ephemeral=False, + push_reports=False, ): self.token = token self.url = ( @@ -73,6 +74,7 @@ class ApplicationService: self.id = id self.ip_range_whitelist = ip_range_whitelist self.supports_ephemeral = supports_ephemeral + self.push_reports = push_reports if "|" in self.id: raise Exception("application service ID cannot contain '|' character")