element-hq / element-hq/element-android
Does not show the recent most message in the room summary when the Show removed messages in turned off
- Dominant language
- Kotlin
- Stars
- 3.7k
- Forks
- 917
- PR merge metrics
- No merged PRs in 30d
Description
#### Describe the bug
When the `Show removed messages` option is turned off, there are no placeholders for removed messages but the room summary still says `Event deleted by user` as the most recent message. In the screenshot below in the `Bug Testing` room the most recent message was deleted. The expected behavior is that rather than `Event deleted by user` it should show `Test` as it's the most recent message.
#### To Reproduce
Steps to reproduce the behavior:
1. Delete the most recently sent message
2. Got to Settings -> Preferences -> Timeline
3. Set the `Show removed messages` option to false.
4. The removed messages are not shown but the room summary still has `Event deleted by user` as the recent message.
#### Expected behavior
The expected behavior is that when `Show removed messages` option is turned off, the room summary should show the recent most message rather than `Event deleted by user`
#### Screenshots


#### Smartphone (please complete the following information):
- Device: Samsung M31
- OS: Android 11
#### Additional context
- App version and store: 1.1.6 - F-Droid
- Homeserver: matrix.org
Contributor guide
Assessment
This issue has not been assessed yet.