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

Open
#3,239 1 comment 1 reaction 1 assignee Claimed by @ganfra View on GitHub
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
![Screenshot_20210428-215448_Element](https://user-images.githubusercontent.com/45288858/116442301-f6c6ec00-a86f-11eb-917f-30ea0e19db87.jpg)
![Screenshot_20210428-215500_Element2](https://user-images.githubusercontent.com/45288858/116444235-28d94d80-a872-11eb-85c7-3238c84b9b8f.jpg)

#### 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

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.