RocketChat / RocketChat/Rocket.Chat.ReactNative
bug: Messages missing in chat
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.4k
- Forks
- 1.5k
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 90
Description
Describe the Bug
Frequently, new messages are missing. Some times even when sending a message, the chat doesn't show the message that was just sent.
But the biggest issue is when someone else sends a message and clicking the notification, only to land in a chat with no new messages. At that point, going back to chat selection shows the new message as the latest message, in the one-line preview. Clicking it goes back into the chat, where there are still no new messages.
Some notes:
- I only use E2E chats on my deployment.
- This is happening on multiple android devices with Android 15-17.
- The desktop app and webapps do NOT have this issue. Only the android app. I don't have an iOS device to test, but it must be happening there too.
- Killing the app and re-opening it before sending a new message when the bug happens, brings the messages back into the chat. If the user facing the bug sends a message before killing the app and restarting, it's impossible to recover them. The only solution is to open the webapp or desktop app.
- This has been happening for a while, probably since 7.x rocketchat..
Steps to Reproduce
- Click notification
- The new messages are missing
Expected Behavior
I expect the messages to show up properly in the mobile chat, like they do on webapp and desktop app.
Actual Behavior
Messages are missing.
Rocket.Chat Server Version
8.5.1
Rocket.Chat App Version
Latest Beta
Device Name
Redmi Note 11, Samsung Galaxy M31
OS Version
Android 15, 16, 17
Additional Context
No response
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 notification-to-chat flow on Android, using the reported E2E-chat setup and comparing behavior after reopening the app. Trace why messages appear in the chat-list preview but not inside the chat; done means newly received and sent messages consistently appear in the mobile chat without requiring a restart or another client.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100