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 the user's pre-existing HS when config validation fails #9892

Merged
merged 3 commits into from
May 31, 2019

Conversation

turt2live
Copy link
Member

@turt2live turt2live commented May 29, 2019

Requires matrix-org/matrix-react-sdk#3043
Fixes #9835
This is a temporary measure for #9828

Only applies if the user appears to be logged in. If the user is not logged in, we scream loudly.

A note on the messaging: The errors being displayed to users come from deep within the js-sdk, which is not easily translated. Instead of trying to wrestle a homeserver URL into the error, I've just stuck a sentence into the error box to hopefully make it clear that it's not the user's fault.

image
Pretend that says "Homeserver URL does not appear to be a valid homeserver" instead of "Unexpected error"

Only applies if the user appears to be logged in. If the user is not logged in, we scream loudly.

This is a temporary measure for #9828

Fixes #9835
@turt2live turt2live requested a review from a team May 30, 2019 19:47
@bwindels bwindels requested review from bwindels and removed request for a team May 31, 2019 09:37
Copy link
Contributor

@bwindels bwindels left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not showing this to logged-in user is a good improvement! Thanks!

src/vector/index.js Outdated Show resolved Hide resolved
@turt2live turt2live merged commit 1459bfe into develop May 31, 2019
@turt2live turt2live deleted the travis/check-login-for-config branch May 31, 2019 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants