matrix-org / matrix.to

A simple stateless privacy-protecting URL redirecting service for Matrix
http://matrix.to
Apache License 2.0
893 stars 189 forks source link

Align matrix.to url scheme with matrix: uri scheme #205

Open bwindels opened 3 years ago

bwindels commented 3 years ago

See https://github.com/matrix-org/matrix-doc/pull/2312

E.g. use https://matrix.to/#/u/her:example.org rather than https://matrix.to/#/@her:example.org

This would make it easy to convert a matrix.to link to a matrix: link, just remove the .to/#/ part.

bwindels commented 3 years ago

Even though not defined in the MSC, this could also be helpful to distinguish spaces from rooms later on.

ShadowJonathan commented 3 years ago

Maybe the extra / after the # could be removed? I think that's more in-line to the URI scheme, so matrix: would (technically) be swappable with matrix.to#, not matrix.to#/

jryans commented 3 years ago

Did matrix.to ever implement any of the MSC2644: matrix.to URI syntax v2 MSC? If not, I guess we could discard the MSC...?

bwindels commented 3 years ago

Is that MSC just about not putting in the room id when linking to an event id? If that, don't think that was ever implemented.

AbhishekJamhoriya commented 2 years ago

Hi @bwindels I would like to work on this issue, so can you please assign me this issue.