element-hq / element-hq/element-android

Last message read status is not being updated on Element on Android

Open
#3,299 1 comment 2 reactions 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
Whenever I visit a room on Element on Android, the last read marker is not being updated. If I revisit a room, e.g. because new unread messages, the read marker is still at the location I previously went in.

If I visit on the same room on desktop, then the read marker is updated correctly.

The rooms overall unread/read status in the room list is unaffected by this issue.

#### To Reproduce
Steps to reproduce the behaviour:
1. Visit a room with unread messages, make sure you scroll through all the unreads and note where the last unread message is.
2. Go back to the room list
3. Visit the room again.

=> The unread marker is in the same location as step 1.

4. Go back to the room list.
5. Visit the room using desktop on Element

=> The unread marker is in the same location as step 1.

6. Make sure all messages are read on the desktop client.
7. Re-visit the room on Android

=> There are now no unread messages shown in either desktop nor android.

#### Expected behaviour

The android client should be correctly updating the unread markers within a room.

#### Smartphone (please complete the following information):
- Device: Samsung S6
- OS: Android 7.0

#### Additional context
- 1.1.6 [40101062] (G-b2062) Google Play
- Homeserver: mozilla.org

I think this has been going on for a week or two.

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.