element-hq / element-hq/element-ios
Client confused about the membership of a room
- Dominant language
- Swift
- Stars
- 1.8k
- Forks
- 544
- PR merge metrics
- PR metrics pending
Description
We've seen a number of reports of UTD events where the sender was using Element iOS, and the sending client has gotten confused about the membership list in the room (thinking that there are many fewer members than there actually are).
In one case, the client seems to have spontaneously forgotten the majority of the room membership:
```
2025-01-29 08:06:33.977 Element[13714:2050845] 13:06:33.977 [MXFileStore commit] saveRoomsState: saving 33 events for room !:matrix.org
...
2025-01-29 08:06:43.848 Element[13714:2046936] 13:06:43.848 [MXFileStore commit] saveRoomsState: saving 13 events for room !:matrix.org
```
Initially I thought this might be related to https://github.com/matrix-org/matrix-spec/issues/1209, https://github.com/element-hq/synapse/issues/17050 or https://github.com/element-hq/synapse/issues/16940, but the symptoms don't seem to fit: the period above does not correspond to a particularly complex bit of event graph.
Contributor guide
Assessment
This issue has not been assessed yet.