element-web
element-web copied to clipboard
Clicking a Matrix ID in the timeline takes the user to the home screen
Steps to reproduce
- Click a Matrix ID in the timeline
Outcome
What did you expect?
The user profile sidebar to appear.
What happened instead?
The user profile sidebar appeared, but with a broken back button, and unexpectedly being redirected to the Home screen.
Screencast from 09-22-2022 05:44:49 PM.webm
In the video I click the back button twice, causing it to disappear (clicking it once does nothing).
Operating system
Arch Linux
Application version
Element version: 2022090801 Olm version: 3.2.12
How did you install the app?
The AUR
Homeserver
No response
Will you send logs?
Yes
It seems to work as expected if the MXID is a pill, but not if it is plain text
This sorta makes sense to me since pill is always a member of the room but a matrix.to link does not have to be
@SimonBrandner well, usually. Though you can copy/paste pills between rooms or craft them via devtools. In that case clicking the pill, even if the user is not in the room, results in no redirects occurring.
This issue also occurs when the MXID belongs to a user in the room.
This now takes me to matrix.to in the same tab :/
This works fine on riots.im/1.11.35 but not on develop. This seems to be related to @Johennes updating linkifyjs :/
Thanks for fixing this @t3chguy!