RocketChat / RocketChat/Rocket.Chat.ReactNative

Usernames removed from message using /me

Open
#5,302 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Description:

When writing a message starting with /me, any usernames will be removed from this message when rendering it.

Environment Information:
  • Rocket.Chat Server Version: 6.4.3
  • Rocket.Chat App Version: 4.42.0.50842
  • Device Name: ELE-L29 (Huawei P30)
  • OS Version: EMUI 12.0.0 (Android 11)
Steps to reproduce:
  1. Write a message using the /me command highlighting any user.
Expected behavior:

The message will be rendered containing the username. The browser version of Rocket.Chat works like this:

image

Actual behavior:

The message will be rendered without the username:

https://github.com/RocketChat/Rocket.Chat.ReactNative/assets/404840/d7594b2f-99e3-4a6a-af99-9e4d886631cd

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

Reproduce the issue in the React Native app by using /me with a highlighted username, then compare the rendered result with the browser behavior shown in the report. Trace the message rendering path for /me and verify that the completed behavior preserves the username.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
frontend, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.