summary refs log tree commit diff
path: root/synapse/appservice
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2016-12-12 14:46:13 +0000
committerErik Johnston <erik@matrix.org>2016-12-12 16:05:45 +0000
commit2bf5a47b3e07bc80dd3a99e1c460f9f0a2fce95e (patch)
tree767cf98d89e89e30020c08236e2b842eb96626ad /synapse/appservice
parentAdd cache to get_public_room_ids_at_stream_id (diff)
downloadsynapse-2bf5a47b3e07bc80dd3a99e1c460f9f0a2fce95e.tar.xz
Rename network_id to instance_id on client side
Diffstat (limited to 'synapse/appservice')
-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()