element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.39k stars 731 forks source link

Rooms links don't open up in RiotX #1439

Open sephii opened 4 years ago

sephii commented 4 years ago
  1. Send a message with a room name and autocomplete it (eg. #hello:example.com). It gets expanded to a link that point to https://permalink.example.com/#/room/#hello:example.com
  2. Click on the link
  3. It opens up in your browser instead of RiotX

According to https://github.com/vector-im/riotX-android/issues/1113, matrix.to links already open up in RiotX, but that doesn't seem to be the case if you use a custom permalink prefix.

bmarty commented 4 years ago

https://permalink.example.com/#/room/#hello:example.com is not a valid matrix.to link, the host must be matrix.to, as per https://github.com/vector-im/riotX-android/blob/df973a627535d5e578b759c0529caa1bbba43beb/vector/src/main/AndroidManifest.xml#L141

So maybe the problem is in the link that RiotX creates.

igalic commented 4 years ago

on a more basic level, why RiotX (tap-to-) /join channels written down in the standard matrix notation of #channel:honeser.ver?

rubo77 commented 4 years ago

Screenshot_20200722-002249_Element (Riotim)

The same problem if you have a link to another room in the room description

akoyaxd commented 3 years ago

Any news on this? It's really annoying not to be able to link Rooms in a Room Description..