element-hq / element-hq/element-ios

Large number of messages missing from room

Open
#7,886 0 comments 0 reactions 0 assignees View on GitHub
T-Defect
Dominant language
Swift
Stars
1.8k
Forks
544
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

1. Attempt to view room !GjXfrlJIsOsHZmoLLt:matrix.tellowkrinkle.com
2. View the same room with app.element.io on a desktop
3. Compare the messages

### Outcome

#### What did you expect?
The same messages display on both. If the client failed to fetch some messages for whatever reason, it should display something to indicate that (and maybe a button to retry).

#### What happened instead?
At some point the messages on the iOS client just jump to yesterday (昨日), where on the PC client there's still plenty of messages before then (it looks like about 90 messages got skipped). The iOS client shows no indication that there are messages missing.

iOS Client:
![ElementIOS](https://github.com/user-attachments/assets/0add89cc-155f-41c4-9f43-065e5c2a5bfa)
Browser Client:
ElementPC

### Your phone model

iPhone XS

### Operating system version

iOS 8.1.1

### Application version

Element 1.11.21 (20241114155544)

### Homeserver

matrix.org

### Will you send logs?

Yes

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the missing-message jump in the iOS client using room !GjXfrlJIsOsHZmoLLt:matrix.tellowkrinkle.com and compare it with app.element.io on desktop. Review the available logs and message-fetching path; done means the client displays the missing messages or clearly indicates the gap and offers a retry.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, swift
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.