riotchat icon indicating copy to clipboard operation
riotchat copied to clipboard

Associate riot / element urls with this app

Open sunjam opened this issue 5 years ago • 5 comments

I'd like https://riot.im/app/#/room/#Mobilizon:matrix.org room url's to attempt to open in the Nextcloud web app.

Thanks for considering!

sunjam avatar Sep 07 '20 19:09 sunjam

It is starting to look like MSC2312 is solidified enough to maybe try implementing. Unfortunately, at least within Firefox, we can't currently register a handler for matrix: (docs) but that will probably change once MSC2312 becomes part of the spec.

That might be a better idea once that becomes available. Would be open to a PR for either way if the UX can be made well.

gary-kim avatar Sep 08 '20 13:09 gary-kim

The current canonical way to link to matrix rooms, users, or events is to use matrix.to, see here

mvgorcum avatar Jan 05 '21 08:01 mvgorcum

The current canonical way to link to matrix rooms, users, or events is to use matrix.to, see here

As a browser application, we cannot add link handlers for other websites. Once MSC2312 is part of the spec and browsers add support for it, we can register a handler so that when a user opens a link to a Matrix resource, it automatically opens in the Element for Nextcloud app.

gary-kim avatar Jan 09 '21 19:01 gary-kim

Currently blocked by https://github.com/whatwg/html/pull/6320, but that might change soon.

Edit: now waiting for this to trickle down to users as browsers are updated. You might want to follow https://github.com/vector-im/element-web/issues/16875.

MayeulC avatar Apr 18 '21 17:04 MayeulC

I'd like to point out that Firefox 90 is now out and supports registering matrix: handlers. Chrome 92 will also support it, and releases in two days :)

MayeulC avatar Jul 18 '21 16:07 MayeulC