- 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."
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