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

View messages from older room version after upgrade #118

Open
DanilaFe opened this issue Feb 14, 2022 · 3 comments
Open

View messages from older room version after upgrade #118

DanilaFe opened this issue Feb 14, 2022 · 3 comments

Comments

@DanilaFe
Copy link

When upgrading rooms, messages from the old room version get swallowed. It would be nice if that didn't happen.

@gleachkr
Copy link
Contributor

gleachkr commented Feb 14, 2022

Seems that only a subset of state events are transferred:

https://spec.matrix.org/v1.2/client-server-api/#server-behaviour-16

So perhaps in the short term populus should look back and read the subspace state off of the previous room? The fact that m.space.child isn't copied seems to be an acknowledged problem.

And might already be fixed in recent synapse:

so hopefully this will eventually be solved upstream.

@DanilaFe
Copy link
Author

It's unfortunate that space membership events are not preserved. Perhaps populus can do a "one-time setup" of finding and re-sending the m.space.child event to mimic server behavior if the server itself didn't send the necessary events?

@gleachkr
Copy link
Contributor

OK - after a little discussion, it's clear that the problem is with annotation room upgrades. When you hit the room's beginning, it should be possible to continue to backfill from the previous room.

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

No branches or pull requests

2 participants