element-hq / element-hq/element-android

Rooms in private spaces show up in Home

Open
#5,474 0 comments 0 reactions 0 assignees View on GitHub
A-Spaces O-Occasional S-Minor T-Defect Z-Papercuts
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

We've had internal reports and the `UIAllScreensSanity` test has been treating this error as the expected result

Not reproducible 100% of the time

1. Create a room
2. Create a private space
3. Add the room to the private space
4. Create a public space with default rooms (general, random)
5. Leave the public space without leaving the rooms
6. Notice `Home` shows the orphaned `general` and `random` rooms and also the private room

Toggling the `settings -> show all rooms in Home` on and off fixes the private space rooms showing in `Home`

### Outcome

#### What did you expect?
To not see the private space rooms in `Home`

#### What happened instead?
Rooms in private spaces are showing in `Home`

### Your phone model

_No response_

### Operating system version

_No response_

### Application version and app store

1.4.4

### Homeserver

_No response_

### Will you send logs?

No

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.