matrix-org / matrix.to

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

Deeplinks with roomids for unjoined rooms into Element don't work #270

Closed deepbluev7 closed 2 years ago

deepbluev7 commented 2 years ago

Describe the bug When following a matrix.to link, that uses a roomid and explicit vias, those vias are not passed on to Element, which makes the room unjoinable. Example: https://matrix.to/#/!xokVIsEhSxfAuiViWt:linuxdelta.com?via=linuxdelta.com&via=matrix.org&via=matrix.recursiv.com

To Reproduce Steps to reproduce the behavior:

  1. Got to https://matrix.to/#/!xokVIsEhSxfAuiViWt:linuxdelta.com?via=linuxdelta.com&via=matrix.org&via=matrix.recursiv.com
  2. Hover over the Element button
  3. See that the url is element://vector/webapp/#/room%2F!xokVIsEhSxfAuiViWt%3Alinuxdelta.com
  4. Clicking this will fail to join

Expected behavior matrix.to passes the vias to Element so that the room can actually be joined by clicking.

richvdh commented 2 years ago

dup #235 ?

deepbluev7 commented 2 years ago

Looks like it. Seems like I used the wrong search terms!

t3chguy commented 2 years ago

Duplicate of https://github.com/matrix-org/matrix.to/issues/235