summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--synapse/appservice/api.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/appservice/api.py b/synapse/appservice/api.py
index aefbda34ba..6893610e71 100644
--- a/synapse/appservice/api.py
+++ b/synapse/appservice/api.py
@@ -181,7 +181,7 @@ class ApplicationServiceApi(SimpleHttpClient):
                 for instance in info.get("instances", []):
                     network_id = instance.get("network_id", None)
                     if network_id is not None:
-                        instance["network_id"] = ThirdPartyInstanceID(
+                        instance["instance_id"] = ThirdPartyInstanceID(
                             service.id, network_id,
                         ).to_string()