Mention link breaks when changing channel view before sending message

(#2375) Bug Fixed desktop messaging

Observed behaviour

The mention link is broken, and it is just sent as plain text.

Reproduction steps

  1. Mention a user or a channel in the message bar.
  2. Change the channel you're currently viewing to a different channel.
  3. Change the channel back to the original channel.
  4. Send the message.

Build information

canary build 567 (ff9dd3e), Electron 41.2.2, Windows 11 10.0.26200 (x64), desktop canary 0.0.118, locale en-GB

Platform

Windows

Evidence

Details

Expected behaviour It should retain the link to the user or channel.
Screen_Rec_2026-05-03_12-42-49_1000.webm | 514 kB
Screen_Rec_2026-05-03_12-38-33_1000.webm | 602 kB
  1. Rex changed the status from Needs triage to Fixed

Merged posts

These posts were merged into this one. Their comments are now part of the conversation below, marked with where they came from.

Report details

Observed behaviour

The mention gets sent as text of the @user#tag with no mention. This also happens with emotes

Reproduction steps

  1. Put a @mention into the chat input
  2. Change channel
  3. Go back to the original channel
  4. Hit send

Build information

canary build 586 (96d2f9a), Electron 41.2.2, Windows 11 10.0.26200 (x64), desktop canary 0.0.122, locale en-GB

Platform

Windows

Details

Expected behaviour The mention should still send properly
uHrJd6VBTA.mp4 | 125 kB

6 comments

Sign in with Fluxer to comment and vote.
Comment by Daffyduck
DaffyduckMod 1 vote
Can reproduce canary build 571 (a498c4f), Electron 41.2.2, Windows 11 10.0.26200 (x64), desktop canary 0.0.118, locale en-GB
Comment by Caus
CausMod 1 vote
Can reproduce CR. canary build 574 (816263e), Electron 41.2.2, Linux 7.0.3-1-cachyos-bore-lto (x64), desktop canary 0.0.119, locale fr