You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Copy Message Link uses the public channel route for private rooms and DMs #1455
The React message toolbox builds every copied message link under /channel/<name>. Rocket.Chat uses /group/<name> for private channels and /direct/<rid> for direct messages. DM room records can omit the name.
Steps to reproduce
Open EmbeddedChat in a private channel using an account that can access the room.
Open a message’s toolbox and select Copy Message Link.
Paste the URL into a browser signed in to the workspace. Repeat with a direct message room if configured in the embed.
Expected behavior
The link uses the room’s route and includes the msg query parameter so Rocket.Chat can jump to the message.
Actual behavior
A private channel named team produces /channel/team/?msg=<id>. A DM room with no name produces /channel/undefined/?msg=<id>. I reproduced both outputs by running the copy handler with the corresponding rooms.info response shapes.
Activity