RocketChat / RocketChat/Rocket.Chat
Notification opens the wrong direct
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Search before asking
- I had searched in the issues and found no similar issues.
Operating System
- macOS
- Windows
- Linux
Operating System Version
Windows 11 Pro 22H2 22621.2283
It happens on the web browser too?
No, it just happens on the Desktop app
Rocket.Chat Desktop App Version
3.9.7
Rocket.Chat Server Version
6.3.7
Describe the bug
Clicking on a notification opens not the direct chat that was the source of the notification, but another chat last opened in the RC window.
In other words:
I've been text with John.
I minimized the RC window.
After a while, a message from David comes in and a notification.
I click on the notification.
The direct with John, not David, opens.
How to Reproduce
- Minimize RC with user 1.
- Wait for notification from user 2.
- Click on it.
Describe your Expected behavior
The direct window opens with user 2.
Anything else
No response
Are you willing to submit a code contribution?
- Yes, I am willing to submit a Pull Request!
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
No files, tests, or entry points are identified in the issue. Reproduce the Windows desktop scenario by minimizing a direct chat, receiving a notification from another user, and selecting it; the work is done when the notification opens the direct chat that sent it rather than the previously open chat.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100