-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Memberlist out of sync in fresh DM #20962
Comments
+1 Seems to break encryption as well, the other party couldn't decrypt my messages. Restarting Element worked, Using macOS desktop client built from |
Yep, my encryption also died in this room from this device. Other devices (which maintained a correct view of participants in the room) were not affected. |
I just got this too. @novocaine, surely this is a release blocker? |
Agree, due to number of reports |
* Log when member event membership is undefined To diagnose element-hq/element-web#20962 * May as well have a stack trace too
I just got this in a non-DM (my client doesn't think @Erethon is in the Full Mesh VoIP room, so he's getting UISIs from me) |
I've just managed to repro this (although not reliably). It's due to a member event that's pointing the wrong way: the current state of the room has ended up with a member event with This plausibly could be the change we reverted (matrix-org/matrix-js-sdk#2171) although I'm still not 100% sure how: somehow the event must be arriving from some channel that's backfilling it before it's arriving via the right source (timeline? lazy loading?). This means I'm more confident that this is the same underlying cause as #20981 |
Update, no - the forwardLooking flag is set when we set the event metadata (which is when we add it to the timeline), so the scenario is that we get the state events when you load the room, then backfill and see the state events in its original place, at which point we re-use it and mangle it to backwards-looking because you're backfilling. Germain is writing a test to confirm this behaviour and also be a general regression test. If our suspicions are confirmed, we can consider this fixed thanks to the revert. |
No more reports of this since the revert so I'm going to say that this is fixed |
Steps to reproduce
Outcome
What did you expect?
Memberlist to be accurate
What happened instead?
Memberlist was missing a participant
Operating system
No response
Application version
No response
How did you install the app?
No response
Homeserver
me on lant.uk, other participant on their own personal homeserver (not matrix.org)
Will you send logs?
Yes
The text was updated successfully, but these errors were encountered: