element-hq / element-hq/element-x-android

Incorrect display of the room privacy setting for 1-to-1 chats

Open
#3,843 0 comments 1 reaction 0 assignees View on GitHub
A-Room-Detail O-Uncommon S-Major T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

1. In a 1-to-1 chat, click on the room name to display the settings
2. For some 1-to-1 chats, ElementX indicates that the room is a `public room`
3. On Element for Android or Element Desktop, open the settings for the same room, the room is marked as `private`
4. For now, I can't figure out, in wich cases the incorrect privacy setting is displayed. Perhaps it appears when the 1-to-1 is initialised with ElementX

ElementX:

![Screenshot_ElementX_Setting_private](https://github.com/user-attachments/assets/092ee0a6-eb05-4cc3-ae38-bf42b911b6c7)

Element Android of the same room:

![Screenshot_Element_Setting_private](https://github.com/user-attachments/assets/97af748a-5ae7-49fd-a0e6-bcedc579d87c)

### Outcome

#### What did you expect?
Correct display, that the room is set to private
#### What happened instead?
The rooms privacy setting is displayed as `public`

### Your phone model

pixel 6

### Operating system version

Android 14

### Application version and app store

ElementX 0.7.2 FDroid

### Homeserver

_No response_

### Will you send logs?

No

### Are you willing to provide a PR?

No

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the privacy display in ElementX 0.7.2 on Android and compare the same 1-to-1 room with Element for Android or Element Desktop. Trace the room privacy-setting display and identify why some rooms are shown as public; done means the affected rooms consistently display as private.

Written by the indexing model from the issue text.

Assessment

Tech stack
kotlin
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.