element-hq / element-hq/element-android

Unread messages in DMs aren't shown in the space panel

Open
#5,027 2 comments 0 reactions 1 assignee Assigned to @amshakal View on GitHub
A-DMs A-Notifications A-Spaces T-Defect X-Needs-Design X-Needs-Product Z-GetYourUpdates Z-WTF
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

1. Have a space
2. Have someone talking to you in private in this space
3. Have some talking in another room in the same space
4. See on the space panel that only the unread messages from the other room are counted

### Outcome

#### What did you expect?

I expect to have the sum of the DMs and rooms unread messages in the space panel.

In this screenshot you can see I'm in the Matrix Community space, I have 1 unread DM message and 6 unread rooms messages:
![image](https://user-images.githubusercontent.com/6382548/150576886-c3ea0c61-7c0f-434d-ba74-a83e1695c1ab.png)

If I open the space panel, I only see 6 unread messages in the Matrix Community space:
![image](https://user-images.githubusercontent.com/6382548/150576998-9f91650d-f651-44c7-8568-af958a046edb.png)

Note: I've disabled to see all the rooms in the Home:
![image](https://user-images.githubusercontent.com/6382548/150577079-83bc622f-7908-46b6-b1be-e2aa8a5652a4.png)

On Desktop (see linked issue) the behavior is different and the Home gets 1 unread message (which is not what I was expecting anyway since I disabled the option on both devices).

#### What happened instead?

Only the unread messages from the other room are counted.

### Your phone model

1+ 6T

### Operating system version

OxygenOS 11.1.2.2

### Application version and app store

Element 1.3.15, SDK 1.3.15, Olm 3.2.10, from Play Store

### Homeserver

matrix.org

### Will you send logs?

No

Linked with: https://github.com/vector-im/element-web/issues/20672

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.