element-hq / element-meta

Shared/meta documentation and project artefacts for Element clients
70 stars 12 forks source link

Invited a bot to the room, it joined "before invite", and shows as still being invited #1360

Open jaywink opened 4 years ago

jaywink commented 4 years ago

Description

Invited a bot to a room using /invite @feneasbot:feneas.org command.

Bot joined the room. In room state Riot makes it look like the bot joined before my invite. In user list, the bot shows as still being invited and not joined.

Logs being sent: yes

Screenshot from 2020-06-30 23-53-27

Version information

jaywink commented 4 years ago

FYI, clearing cache and reloading didn't make things better. Writing a bot message made the bot react, so it was really joined into the room. And now Riot also shows it as joined to the room after it reacted to a command.

t3chguy commented 4 years ago

If clearing the cache and reloading didn't help then it'll be a Synapse issue and not a Riot Web one. The timeline and currentState are both fully driven via /sync, could be a bug with Lazy Loading

turt2live commented 4 years ago

or the stream ordering in synapse decided the invite comes after the join for some reason, even if the topological ordering doesn't say that.

jryans commented 4 years ago

It would be nice to work out what to report to Synapse, and then report there.