diff options
author | Travis Ralston <travpc@gmail.com> | 2018-12-04 04:44:41 -0700 |
---|---|---|
committer | Richard van der Hoff <1389908+richvdh@users.noreply.github.com> | 2018-12-04 12:44:41 +0100 |
commit | 1737753a62c90365b8886b9fd3317608a6c402ea (patch) | |
tree | eab1d558496e889e0ce55d2ddb70e26b86f62c91 /synapse/config/appservice.py | |
parent | Fix non-ASCII pushrules (#4248) (diff) | |
download | synapse-1737753a62c90365b8886b9fd3317608a6c402ea.tar.xz |
Add an option to enable recording IPs for appservice users (#3831)
Diffstat (limited to '')
-rw-r--r-- | synapse/config/appservice.py | 5 |
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 """ |