element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
GNU Affero General Public License v3.0
3.38k stars 727 forks source link

Does not show the recent most message in the room summary when the Show removed messages in turned off #3239

Open warwicklol14 opened 3 years ago

warwicklol14 commented 3 years ago

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 Screenshot_20210428-215500_Element2

Smartphone (please complete the following information):

Additional context

bmarty commented 3 years ago

Thanks for reporting, we will have a look