RocketChat / RocketChat/Rocket.Chat.ReactNative

bug: delete message from DM not syncing between mobile and windows app

Open
#6,835 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

🐛 bug
Dominant language
TypeScript
Stars
2.4k
Forks
1.5k
Avg merge
1d 18h
Merged PRs (30d)
90

Description

Describe the Bug

Sometimes when I delete a message from a chat on my mobile, I can see the message disappear in my windows app also. But I have another chat with stale messages. They are in the mobile app but not in the windows app. The mobile app lets me select 'Delete' but doing so does not cause the message to be deleted.

Steps to Reproduce
  1. I used some automation to send several youtube links to myself (via an rss channel), from my username to my username
  2. Some time went by, a few days, then I would watch a video then delete the message.
  3. Message does not delete from mobile app.

Note: If I send a message to myself then delete it from the mobile app a few minutes later it does delete from the windows app.

A delay seems to be a factor.

Expected Behavior

Expect a message to delete from the mobile app after selecting Delete.

Actual Behavior

Message remains.

Rocket.Chat Server Version

latest

Rocket.Chat App Version

4.67.1

Device Name

Samsung S20 5G

OS Version

Android 13

Additional Context

No response

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

Start by reproducing the delayed-message deletion scenario between the mobile and Windows apps, using the listed Android device and app version. Trace the mobile DM deletion and synchronization entry points; done means a message deleted after several days is removed from the mobile app and reflected in the Windows app.

Written by the indexing model from the issue text.

Assessment

Tech stack
react-native, typescript
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.