RocketChat / RocketChat/Rocket.Chat

BUG: users with a space in the name cannot be at-mentioned

Open
#10,253 21 comments 5 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
46.1k
Forks
13.9k
Avg merge
3d 3h
Merged PRs (30d)
130

Description

Description:

We allow the use of social logins. Users may come in from GitHub, or Google+, for instance and put a space in the username when they sign up. I am unable to at-mention these users.

Server Setup Information:
  • Version of Rocket.Chat Server: 3.4.2
Steps to Reproduce:
  1. create user with space in name
  2. join user to channel
  3. attempt to at-mention user
  4. User appears in pick list, is chosen
Expected behavior:
  1. alert is sent to user with space in name
Actual behavior:
  1. no alert is sent

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failed at-mention with a username containing a space, then trace the mention handling and notification path from the channel message flow. Check how the selected user is identified and notified. Done means the user receives the alert and the existing behavior remains intact for usernames without spaces.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.