Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use /v3 as prefix for /refresh #3

Merged
merged 1 commit into from
Dec 31, 2022

Conversation

davidisaaclee
Copy link
Owner

matrix-js-sdk previously used /v1 as prefix for /refresh endpoint. This would work with Synapse v1.71.0 and below, as Synapse had a bug which incorrectly used /v1 for /refresh. After matrix-org/synapse#14364 (which was released in v1.72.0), using /v1 no longer works with Synapse.

This change will break matrix-js-sdk clients which are interfacing with Synapse pre-v1.72.0; but using /v3 is the correct behavior.

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

matrix-js-sdk previously used /v1 as prefix for /refresh endpoint. This
would work with Synapse v1.71.0 and below, as Synapse had a bug which
incorrectly used /v1 for /refresh. After matrix-org/synapse#14364 (which
was released in v1.72.0), using /v1 no longer works with Synapse.

This change will break matrix-js-sdk clients which are interfacing with
Synapse pre-v1.72.0; but using /v3 is the correct behavior.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant