element-hq / element-meta

Shared/meta documentation and project artefacts for Element clients
72 stars 12 forks source link

Open IRCS links #1854

Open jtagcat opened 4 years ago

jtagcat commented 4 years ago

I'm using Matrix with many IRC channels, links like ircs://irc.mozilla.org/bugzilla should work.

Opening the link should bring you to the channel preview.

This could be a desktop-only thing, though the technologies do not restrict that it could also work with the web version.

t3chguy commented 4 years ago

Do you mean it should open the link in your IRCS link handler i.e an IRC client or it should do magic to figure out whether you can access that channel over a Matrix IRC bridge?

jtagcat commented 4 years ago

I meant that it should handle the link like https://riot.im/app/#/room/#matrixhq:matrix.org but yes, do some 'magic' to figure out, how to access the channel via a bridge in matrix.

aaronraimist commented 4 years ago

I don't think Riot should claim to be an IRC client by implementing the link handler

What happens when there isn't an IRC bridge for that network? Then Riot just claimed to be able to handle something that it cannot so it'll be more annoying to have to open your IRC client and join the room manually.

What happens if you are hosting your own IRC bridge? Then Riot is going to join the room using some public bridge which probably isn't what you want.

jtagcat commented 4 years ago

The behavior could be configured in Riot, general 'private bridge' settings and server-specific settings, or to turn it completely off (let your IRC client get the link). Just an idea.

MadLittleMods commented 3 years ago

Instead of taking over the URL schemes, we can watch for URLs that match the bridge information from https://github.com/matrix-org/matrix-doc/pull/2346

This would be for links within the app from messages or maybe some command /find ircs://irc.mozilla.org/bugzilla