RocketChat / RocketChat/Rocket.Chat

Hide command without room specified works intermittently

Open
#19,635 1 comment 0 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:

/hide without supplying room or user works sporadicly. The command has to be repeated sometimes up to 4-5 times for the room to hide. Specifying the user/room in the command works every time. Happens in OSX client as well as in firefox (possible other browser but not tested). It doesn't seem to mater if the room is private or public.

Steps to reproduce:
  1. Enter a Room
  2. Type /hide and hit enter
Expected behavior:

Room should close

Actual behavior:

Room sometimes closes.

Server Setup Information:
  • Version of Rocket.Chat Server: 3.8.0
  • Operating System: Debian Buster (4.19.0-12-amd64)
  • Deployment Method: Manual install
  • Number of Running Instances: 3
  • DB Replicaset Oplog: Enabled
  • NodeJS Version: v12.18.4
  • MongoDB Version: 4.4.1
Client Setup Information
  • Desktop App or Browser Version: 3.0.3
  • Operating System: OSX 10.15.7
Additional context
Relevant logs:

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

No files or tests are named. Start by locating the /hide command handling and reproducing the room-only command in the listed browser and desktop environments, including the multi-instance server setup. Done means /hide consistently closes the current room on the first attempt without specifying a room or user.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.