Skip to content

State is incomplete on joining a room with LL #7303

@ara4n

Description

@ara4n

Split out from #7211 (comment):

@bwindels says:

I noticed one thing in the sync response after accepting an invite (so when the room appear under "join" for the first time): the state events are not complete. I don't receive the state at the point where I join. Instead I only get what seem to be the 3 first state events (m.room.create, m.room.member for room creator, m.room.power_levels). I would have expected the invite member event for another member to be in there that was invite just before me.
More concretely, the timeline looks like this, and the syncing user is Bruno3:

  • Bruno1 joined the room.
  • Bruno1 made future room history visible to all room members.
  • Bruno1 changed the room name to the happy few.
  • Bruno1 invited Bruno2.
  • Bruno1 invited Bruno5.
  • Bruno1 invited Bruno3.
  • Bruno2 joined the room.
  • Bruno3 joined the room.

Is this how it is supposed to work @ara4n ?
I tried to reproduce on develop with LL turned off but there state.events was just empty?
I thought you'd get the full room state (apart from joined members with LL turned on) after accepting a room, much like when doing an initial sync for a joined room? Maybe I'm missing something.

--

Separately, I'd seen this problem too (at least on iOS):

image

My notes at the time were:

newly joined used in LL room don’t show up as having joined after accepting an invite into the room

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions