element-hq / element-hq/element-android

`Retry` and trash can button do not work for failed (unsent) message deletion action

Open
#7,815 3 comments 0 reactions 0 assignees View on GitHub
O-Uncommon S-Major T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
Avg merge
8d 20h
Merged PRs (30d)
1

Description

### Steps to reproduce

If you delete a message while you are offline,
- `Retry` does not delete the message: it looks deleted locally, but it is not deleted on the HS, on your other devices, and for other users.
- Neither `Retry` nor the trash can button remove the chatroom state `Messages failed to send`.

Steps to reproduce the behavior:
1. Go offline.
2. Delete a message.
3. Wait for the chat to enter the state `Messages failed to send`.
4. Close the app.
5. Return online.
6. Click `Retry` or the trash can button.
7. On this device, the message appears deleted, but the chat state is still `Messages failed to send`.
8. On another device, the message is still there.

### Outcome

#### What did you expect?
`Retry` and the trash can button should have been functional.

#### What happened instead?
`Retry` and the trash can button had no effect.

### Your phone model

_No response_

### Operating system version

_No response_

### Application version and app store

1.5.11 from F-droid, 1.5.8 from F-droid

### Homeserver

matrix.org and custom HS

### Will you send logs?

No

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.