element-hq / element-hq/element-android

Android clients hides room history from newly invited users in a room

Open
#4,503 14 comments 4 reactions 1 assignee Assigned to @BillCarsonFr View on GitHub
A-E2EE O-Occasional S-Minor T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### Steps to reproduce

Our customers are complaining that export of room history does not work. They expect to have new users in a room be able to see the complete message history of the room, but previous history doesn't load automatically when joining the room, and there is no sign or indications of loading nor any errors.

- [ ] Does this happen on the 'regular' Android client

---
**Repro:**
Prerequisite:
1. Need multiple users
2. Web users & Mobile device user (Android)

Issue (1)
* Step 1: Create history between two web-users(make sure "made future room history visible to all room members." option is on).
* Step 2: Invite a third web-user to the room: Third user can't see any messages until another activity is happening (e.g. switching room back and forth, sending a message or simply receiving one). Furthermore, room history is added in chunks, and will not be complete until after several actions/activities in the room.

Issue (2)
* Step 3: Invite an Android user into the room (Android users loads the entire room history upon joining the room).
* Step 4: Android user send a message in the room.
* Step 5: (optional) Send a message or two from the other web users.
* Step 6: Invite a new web-user to the room.

New web user can only see messages AFTER the message Android user sent. IOW messages sent earlier that the first Android message will be excluded from the room history.

### Outcome

#### What did you expect?

#### What happened instead?

### Your phone model

_No response_

### Operating system version

_No response_

### Application version and app store

_No response_

### 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.