Messages taking ~10s to show up *after* the sync spinner goes away
Steps to reproduce
- Receive a push; tap on it
- Get taken to room
- Sync spinner goes away after a second or so
- Wait ~10s for the msg to appear
- In this instance, when it finally appears, the rest of the timeline is blanked out. (https://github.com/element-hq/element-x-ios/issues/1675)
Outcome
What did you expect?
fast sync
What happened instead?
regressed slow sync
Your phone model
No response
Operating system version
No response
Application version
488
Homeserver
No response
Will you send logs?
Yes
@kegsay kindly dug into this and discovered the root cause is that EX is managing to show the timeline without subscribing to it, hence hence the messages not showing up. This feels like a pretty major problem.
this is still happening badly on 493 - just had a ~60s delay
https://github.com/element-hq/element-x-ios/pull/2351 should have fixed this but looks like it didn't
Presumably the same as No spinner while catching up on to-device msgs #1269
The sync indicator/spinner displayed on the app right now is provided by the RoomListService API. If you want another sync indicator/spinner for to-device events, it must be provided by the EncryptionSync API. It's really not complex to implement in the SDK, but it needs product and design decisions before that.