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

Matrix room aliases are not tags #427

Open
notramo opened this issue Jan 15, 2021 · 2 comments
Open

Matrix room aliases are not tags #427

notramo opened this issue Jan 15, 2021 · 2 comments

Comments

@notramo
Copy link

notramo commented Jan 15, 2021

Matrix room addresses start with a #, like #ipfs:matrix.org
When a Matrix room address is included in the text, its first part (the room name, without the server address) is incorrectly converted to a hashtag.
It should be converted to a https://matrix.to link, so when I write #ipfs:matrix.org, it should be converted to [#ipfs:matrix.org](https://matrix.to/#/#ipfs:matrix.org).

@rkingett
Copy link

Maybe to fix this, we should have an edit box for tags and another edit box for categories beneath the post textarea.

@notramo
Copy link
Author

notramo commented Jan 15, 2021

No. If the tag is followed by a :, then it is a Matrix room alias, otherwise it is a tag. Matrix rooms are not like IRC rooms. Matrix is decentralized, so a room alias always has a server name in it, after the :.
So, the following text would resolve to a hashtag:

You can download Arch Linux packages from #ipfs too, more info here

But this would resolve to a Matrix room alias:

You can ask questions regarding IPFS in #ipfs:matrix.org

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants