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

Make it possible to keep leave rooms when syncfilter includes them #2031

Open
1 task done
krille-chan opened this issue Feb 12, 2025 · 0 comments
Open
1 task done

Comments

@krille-chan
Copy link
Contributor

Preflight Checklist

  • I could not find a solution in the existing issues, docs, nor discussions

Describe your problem

Right now we are using the leaveRoom in the sync as a trigger to wipe everything from memory and from database. But if we set a SyncFilter to keep left rooms we should handle them like normal rooms.

Describe your ideal solution

This needs some changes in our handleSync logic. To check if we wanna do this, we could check: Client.syncFilter.room?.includeLeave

Version

0.38.0

Security requirements

No response

Additional Context

No response

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

No branches or pull requests

1 participant