RocketChat / RocketChat/Rocket.Chat
iFrame: Reply in direct message, cannot go back to general chat
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Cannot go back to general channel from replying to direct message in an iFrame
Steps to reproduce:
- Use the "Reply in Direct Message" on a message in general chat
- Room opens
- Here you don't have any options to close the room and go back to general chat

Expected behavior:
An option to go back to general chat. Or is there a way to disable this functionality? We could even disable the message actions menu, it's not really needed in our case. I couldn't find any of these option to disable in the admin area.
Actual behavior:
You are in the direct message room and there is no way you can go back, even if you use commands like /leave.
Server Setup Information:
- Version of Rocket.Chat Server: Docker rocketchat/rocket.chat:3.6.1
- Number of Running Instances: 4
- DB Replicaset Oplog: mongod --smallfiles --oplogSize 128 --replSet rs0 --storageEngine=mmapv1
- MongoDB Version: Docker mongo:4.0
Client Setup Information
Any browsers / operating systems
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Reply in Direct Message flow inside an iFrame, following the reported steps from general chat into the direct-message room. Trace the message action and room navigation entry points; done means users can return to general chat or the relevant action can be disabled through an available setting.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend, web-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100