Skip to content

Messages may not be deleted on all devices in some cases #8143

@j-g00da

Description

@j-g00da
  • Operating System (Linux/Mac/Windows/iOS/Android): Linux
  • Core Version: 2.48.0
  • Client Version: 2.48.0

Expected behavior

Deleted message should always be removed from all devices.
We should store Message-IDs of failed deletions in a table and verify incoming messages against these IDs to make sure deleted messages always get deleted.

Actual behavior

Sometimes, when message is deleted it won't be deleted on all devices.
After checking logs, it appears to be caused by delete request arriving before the message itself, which causes delete request to be ignored.

Steps to reproduce the problem

Happens at random, can't be easily reproduced.

Logs

2026-04-19T16:14:30.826Z	core/event            	WARNING	""	1	"src/receive_imf.rs:2470: Delete message: \"<9cdee411-50bf-4a64-be2e-ab2fac332e81@localhost>\" not found."

Metadata

Metadata

Assignees

Labels

bugSomething is not working

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions