- Ensure that homeserver supports MSC4222.
- Alice invites Bob and Charlie to a room. Both join.
- Charlie switches to another room (this means that Charlie will not immediately load the membership list later)
- Charlie reloads EW. (Not sure if this is necessary)
- Alice kicks Bob
- Alice kicks Charlie
- Alice invites Charlie
- Alice invites Bob
- Bob rejoins
- Charlie switches to the room, and observes the "you have been invited" screen. At this point, Charlie's client does an out-of-band membership load, but already has a cached non-OOB
leave membership for Bob, so ignores the result.
- Charlie rejoins. Due to lazy-loading, Bob's membership state is omitted from the resultant /sync response
Charlie now incorrectly believes that Bob is not in the room, leading to UTDs
leavemembership for Bob, so ignores the result.Charlie now incorrectly believes that Bob is not in the room, leading to UTDs