-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Closed
matrix-org/matrix-react-sdk
#10625Labels
A-Matrix.toA-ShareA-Timeline-SearchO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defect
Description
Steps to reproduce
- Open the timeline search using magnifying glass in the top-right of the chat header and search for a term
- Switch to All Rooms
- Open the context menu dropdown on a message -> Share
- Notice that the given
matrix.to
permalink is mangled and using the room ID that you opened the search from instead of room where the search result is from ❌
If you try to use the mangled permalink, you will get a confusing Failed to load timeline position
error dialog since you just saw the result which exists.
Outcome
What did you expect?
Permalink works for the given message
What happened instead?
Permalink is mangled and using the current room ID instead of the room ID where the event actually exists.
Operating system
Windows 10
Browser information
Chrome Version 112.0.5615.87
URL for webapp
develop.element.io
Application version
Element version: 38dbd66-react-439759a1dae7-js-de3d5ead4212 Olm version: 3.2.12
Homeserver
matrix.org
Will you send logs?
No
Metadata
Metadata
Assignees
Labels
A-Matrix.toA-ShareA-Timeline-SearchO-OccasionalAffects or can be seen by some users regularly or most users rarelyAffects or can be seen by some users regularly or most users rarelyS-MinorImpairs non-critical functionality or suitable workarounds existImpairs non-critical functionality or suitable workarounds existT-Defect