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

fix: Don't depend on home_server field in registration response #105

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 5, 2023

  1. fix: Don't depend on home_server field in registration response

    This field is deprecated in the client-server API and has been removed from
    Dendrite, causing the UI to error when handling a registration response.
    
    Reference: https://spec.matrix.org/v1.6/client-server-api/#post_matrixclientv3register
    
    It appears that the `home_server` field wasn't actually being used here
    anyhow, so just remove the line that tries to fetch it. The spec indicates
    that if it is needed, the caller should instead split the user_id at the
    first colon.
    
    Fixes zeratax#103
    timmc committed Mar 5, 2023
    Configuration menu
    Copy the full SHA
    41da9a9 View commit details
    Browse the repository at this point in the history