RocketChat / RocketChat/Rocket.Chat
Search Function Not Displaying Messages with Attached Images
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 46.1k
- Forks
- 13.9k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 130
Description
Description:
Hello, I noticed a potential bug within the RocketChat platform, where messages, while having a certain keyword, are not being shown in the search results if there is an image attached. This behavior is observed both on the RocketChat Server v6.4.6, v6.5.0 the RocketChat Electron Client v3.9.9, and also when accessed through a web browser.
Steps to reproduce:
- Go into any group chat on RocketChat.
- Post a message with a particular keyword and attach an image to the message.
- Use the search bar to look for that particular keyword.
- Notice that the message with the attached image does not appear in the search results, even though it contains the searched keyword.
Expected behavior:
The message with the keyword and the attached image should appear in the search results.
Actual behavior:
Messages with attached images are not showing up in the keyword search results.
Server Setup Information:
- Version of Rocket.Chat Server: 6.4.6, 6.5.0
- Operating System: Linux
- Deployment Method: docker
Client Setup Information
- Desktop App or Browser Version: RocketChat.Electron: 3.9.9, Google Chrome: 119
- Operating System: Windows 10
Additional context
This issue is causing difficulties finding important messages embedded with images. Any help regarding this discrepancy would be deeply appreciated.
Screenshots
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 source files, tests, or entry points are mentioned. Reproduce the search with a keyword-bearing message that has an attached image, then trace the search handling for messages and attachments; the issue is done when such messages appear in keyword results across the reported client paths.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- search
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100