Skip to content

regular sync: power levels and other state events are missing #4952

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

Closed
gnunicorn opened this issue Apr 17, 2025 · 1 comment · Fixed by #4953
Closed

regular sync: power levels and other state events are missing #4952

gnunicorn opened this issue Apr 17, 2025 · 1 comment · Fixed by #4953

Comments

@gnunicorn
Copy link
Contributor

Was trying to upgrade to latest main when I noticed that asking any room for power_levels comes back with InsufficientData. We are using regular old sync (are in the process of migrating to sliding sync) and it appears that on latest main the state events aren't saved to the state_store anymore.

Some git bisecting points me to db6d1b4 being the commit it all breaks with.

After a brief introspection it seems that there is no new equivalent of the removed state-events adding for non-user-events: db6d1b4#diff-c559762e72a5a86b43382e9ebb7f1bf5d8144f409c1789ad5bb4294eabf44d07L437-L441

I'll investigate further and see if I can come up with a patch.

@Hywan
Copy link
Member

Hywan commented May 5, 2025

Nice finding, thanks for the investigation!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants