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

Presence filter in sync ignored #2298

Open
matrixbot opened this issue Dec 16, 2023 · 0 comments
Open

Presence filter in sync ignored #2298

matrixbot opened this issue Dec 16, 2023 · 0 comments

Comments

@matrixbot
Copy link
Collaborator

matrixbot commented Dec 16, 2023

This issue has been migrated from #2298.


Hi, my initial sync with matrix.org is typically > 2 MB and I found most of the data is in presence events. According to client-server spec, I should be able to specify a Filter to limit the number of presence events https://matrix.org/docs/spec/client_server/r0.2.0.html#get-matrix-client-r0-sync

{
"presence": {
 "limit": 10
}}

Unfortunately, this has no effect on the returned data. I also tried to use a room timeline filter and that works fine.

Being able to reduce the sync to a smaller size would be useful for mobile clients and also help reduce the load on matrix.org

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