summary refs log tree commit diff
path: root/synapse/config/appservice.py
diff options
context:
space:
mode:
authorTravis Ralston <travpc@gmail.com>2018-12-04 04:44:41 -0700
committerRichard van der Hoff <1389908+richvdh@users.noreply.github.com>2018-12-04 12:44:41 +0100
commit1737753a62c90365b8886b9fd3317608a6c402ea (patch)
treeeab1d558496e889e0ce55d2ddb70e26b86f62c91 /synapse/config/appservice.py
parentFix non-ASCII pushrules (#4248) (diff)
downloadsynapse-1737753a62c90365b8886b9fd3317608a6c402ea.tar.xz
Add an option to enable recording IPs for appservice users (#3831)
Diffstat (limited to '')
-rw-r--r--synapse/config/appservice.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/synapse/config/appservice.py b/synapse/config/appservice.py
index 3b161d708a..c21cb3dd87 100644
--- a/synapse/config/appservice.py
+++ b/synapse/config/appservice.py
@@ -33,11 +33,16 @@ class AppServiceConfig(Config):
     def read_config(self, config):
         self.app_service_config_files = config.get("app_service_config_files", [])
         self.notify_appservices = config.get("notify_appservices", True)
+        self.track_appservice_user_ips = config.get("track_appservice_user_ips", False)
 
     def default_config(cls, **kwargs):
         return """\
         # A list of application service config file to use
         app_service_config_files: []
+
+        # Whether or not to track application service IP addresses. Implicitly
+        # enables MAU tracking for application service users.
+        track_appservice_user_ips: False
         """