Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Implement account status endpoints (MSC3720) #12001

Merged
merged 17 commits into from
Feb 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Allow make_query to use unstable prefixes
  • Loading branch information
babolivier committed Feb 15, 2022
commit f4a0ec7e1ca92068c79bd7b16239bbc324556eb8
3 changes: 2 additions & 1 deletion synapse/federation/transport/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,9 @@ async def make_query(
args: dict,
retry_on_dns_fail: bool,
ignore_backoff: bool = False,
prefix: str = FEDERATION_V1_PREFIX,
) -> JsonDict:
path = _create_v1_path("/query/%s", query_type)
path = _create_path(prefix, "/query/%s", query_type)

return await self.client.get_json(
destination=destination,
Expand Down