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

.well-known is required #3

Closed
Sleuth56 opened this issue Aug 1, 2021 · 7 comments
Closed

.well-known is required #3

Sleuth56 opened this issue Aug 1, 2021 · 7 comments

Comments

@Sleuth56
Copy link

Sleuth56 commented Aug 1, 2021

While most servers on the matrix network use .well-known not all do. I think this shouldn't be a requirement. Especially because it's just some json that restates the url.

@toger5
Copy link
Owner

toger5 commented Aug 1, 2021

Would it be a solution, be to provide a field, to manually choose the url?

@toger5
Copy link
Owner

toger5 commented Aug 2, 2021

@toger5
Copy link
Owner

toger5 commented Aug 2, 2021

It is not on the master branch yet, but the currenlty hosted version on https://toger5.github.io/TheBoard/ uses the updated version. You can try it right now if you find time for that.

@Sleuth56
Copy link
Author

Sleuth56 commented Aug 4, 2021

Sorry for the delayed response. The user already puts in their servers url in their MXID. Is it possible to look for a .well-known use it if it's there or if it's not then use the provided url directly? I will test if it's fixed later today hopefully I have time.

@toger5
Copy link
Owner

toger5 commented Aug 5, 2021

@Sleuth56 this is basically exactly what I tried to achive.
The Server field gets autofilled when you type in your MXID (if the well known serach fails or is wrong you just have the chance to correct it now)
image

@Sleuth56
Copy link
Author

Sleuth56 commented Aug 5, 2021

I like the UI. Is it possible to guess the url from the text after the : in someones MKID? For example. @user:matrix.org split the url off using the : as the separator and put the https:// in front of it. So it would be https://matrix.org. Most if not all HS that don't have .well-known use the full url that a user would put in.

@Sleuth56
Copy link
Author

Sleuth56 commented Aug 5, 2021

I also just tested it and it does work with and without .well-known

@toger5 toger5 closed this as completed Aug 6, 2021
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

No branches or pull requests

2 participants