Use MSC2197 on stable prefix as it has almost finished FCP

Signed-off-by: Olivier Wilkinson (reivilibre) <olivier@librepush.net>
This commit is contained in:
Olivier Wilkinson (reivilibre) 2019-08-20 08:49:31 +01:00
parent a3df04a899
commit bb29bc2937
2 changed files with 4 additions and 26 deletions

View file

@ -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: