Mentions of users or groups with special characters don't work

The autocompletion trigger works, but the mention is sent as regular text, unclickable, and doesn’t trigger notifications.

Repro steps:

  1. Have a user/group with a special character (I only tried with accents though) in it.

  2. Mention it in the chat:
    image

  3. The mention is sent as regular text.
    image


Result with:

Username
Username with accent
Group
Group with accent

image

4 Likes

I can replicate this:

  • Enable unicode usernames admin setting
  • Change default locale to Français
  • Go to /sidekiq and run Jobs::EnsureDbConsistency
  • Check @moderators is now @modérateurs
  • Enable mentions for the @modérateurs group

  • Open a Chat Channel and start typing @mod
  • Select @modérateurs when offered, and send
  • Mention appears as plain text and no notifications are sent:

image

4 Likes

Thank you for reporting this! I’m adding this to our list to get it sorted out…

3 Likes

Thanks for the report. I just merged a fix for this:

5 Likes