-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Share room dialog use hosted riot URL #7009
Comments
it uses |
You are right, correcting. |
This is related (from a UX perspective at least) to #6909 |
Yeah if I'm self-hosting riot, matrix, and the whole infra (non-federated, internal auth), how would I change the share URLs from matrix.to to mydomain.tld? |
Just modify src/matrix-to.js? ( https://github.com/matrix-org/matrix-react-sdk/pull/2250/files/d802ee0fa2ce0a68986f848b9924ac352ededf54#diff-c1849c14ee26cff3674a5b7757cd42ad ) How does self-hosted need to be configured for such? |
Er, I'm still not entirely sure how to nicely change the "matrix.to" host url when building riot.im myself. I change it in matrix-react-sdk, in matrix-to.js when building? Or is there any chance we can have it as a parameter in config.json for the riot-web package? Hmmm... |
If you change it then you'll lose compatibility with people who send matrix.to links (they'll no longer be intercepted and opened directly and instead they'll go to the matrix.to Web page) |
(e.g those made by the mobile apps) |
How do I get it to go to my infra though? Without relying on the "matrix.to" public domain. I'm not beyond recompiling the mobile versions too ;P |
Fixed by matrix-org/matrix-react-sdk#3500 See |
Woot! :D |
Pretty stoked on this, thanks devs! |
Description
I host my own instance of riot web so I can use the dark theme by default as well as customize some other things. I found that when I share a room it always uses
matrix.to
for the host. I would like the option to be able to generate URLs that point straight to my riot web instance instead of going tomatrix.to
and listing available matrix clients.The reason I am requesting this is because some users are not tech savvy and will not be able to join a room as guest very easily. I would rather have it go straight to my riot-web host so it opens the chat right away. This is mainly because my wife likes to webcam with her mom (across the world) and her mom is not technologically inclined (she has troubles trying to get facebook video chat or skype to work). Making it so my wife can just give her mom the URL that plops her straight into the room would be highly beneficial for this.
Even if the link generated is a
riot.im
one that avoids the matrix page altogether would work as well (but I would prefer to be able to specify I want to use my own riot-web install host).I think this could be accomplished by adding a checkbox to the share room dialog that says something like "Use riot for this link" that would use the current client's connected riot host.
The text was updated successfully, but these errors were encountered: