summary refs log tree commit diff
path: root/synapse/config/appservice.py
diff options
context:
space:
mode:
authorLuke Barnard <luke@matrix.org>2017-11-16 17:54:27 +0000
committerLuke Barnard <luke@matrix.org>2017-11-16 17:54:27 +0000
commitb1edf260519eeef06d264f75604994f905c8916a (patch)
tree0890497b1daa6f1086f817246bb75315b2349e9f /synapse/config/appservice.py
parentAdd automagical AS Publicised Group(s) (diff)
downloadsynapse-b1edf260519eeef06d264f75604994f905c8916a.tar.xz
Check group_id belongs to this domain
Diffstat (limited to '')
-rw-r--r--synapse/config/appservice.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/appservice.py b/synapse/config/appservice.py
index 82c50b8240..aba0aec6e8 100644
--- a/synapse/config/appservice.py
+++ b/synapse/config/appservice.py
@@ -154,6 +154,7 @@ def _load_appservice(hostname, as_info, config_filename):
         )
     return ApplicationService(
         token=as_info["as_token"],
+        hostname=hostname,
         url=as_info["url"],
         namespaces=as_info["namespaces"],
         hs_token=as_info["hs_token"],