Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EW: sometimes the member event doesn't have a picture/name #7

Open
kegsay opened this issue Dec 22, 2022 · 1 comment
Open

EW: sometimes the member event doesn't have a picture/name #7

kegsay opened this issue Dec 22, 2022 · 1 comment
Labels
bug Something isn't working element-web

Comments

@kegsay
Copy link
Member

kegsay commented Dec 22, 2022

See picture, the timeline is missing info but it's there in the member list.

Screenshot 2022-08-11 at 15 38 04

@kegsay
Copy link
Member Author

kegsay commented Dec 22, 2022

This is almost certainly because of a race condition where the events come in prior to loading the room subscription state. The room list state only contains the client's member event, not lazy loaded members. When the room is loaded, it'll prepend scrollback and set the entire current state, which is presumably the problem here.
Are we setting state first? If so, this should be a good enough workaround until lazy loaded members are a thing.

@kegsay kegsay added bug Something isn't working element-web labels Dec 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working element-web
Projects
None yet
Development

No branches or pull requests

1 participant