summary refs log tree commit diff
path: root/synapse/federation/transport/client.py
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-20 08:49:31 +0100
committerOlivier Wilkinson (reivilibre) <olivier@librepush.net>2019-08-20 08:49:31 +0100
commitbb29bc29374d10d151ebff13c4e95e07c0ef3a29 (patch)
treefc8f6007402c71084c6fd3a87b993fc6e2188fe4 /synapse/federation/transport/client.py
parentNewsfile (diff)
downloadsynapse-bb29bc29374d10d151ebff13c4e95e07c0ef3a29.tar.xz
Use MSC2197 on stable prefix as it has almost finished FCP
Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
Diffstat (limited to 'synapse/federation/transport/client.py')
-rw-r--r--synapse/federation/transport/client.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/federation/transport/client.py b/synapse/federation/transport/client.py
index 2e99f77eb1..482a101c09 100644
--- a/synapse/federation/transport/client.py
+++ b/synapse/federation/transport/client.py
@@ -328,8 +328,8 @@ class TransportLayerClient(object):
         third_party_instance_id=None,
     ):
         if search_filter:
-            # TODO(MSC2197): Move to V1 prefix
-            path = _create_path(FEDERATION_UNSTABLE_PREFIX, "/publicRooms")
+            # this uses MSC2197 (Search Filtering over Federation)
+            path = _create_v1_path("/publicRooms")
 
             data = {"include_all_networks": "true" if include_all_networks else "false"}
             if third_party_instance_id: