Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Presence filter in sync ignored #2298

Open
Quiark opened this issue Jun 23, 2017 · 0 comments
Open

Presence filter in sync ignored #2298

Quiark opened this issue Jun 23, 2017 · 0 comments
Labels
A-Presence A-Spec-Compliance places where synapse does not conform to the spec A-Sync defects related to /sync O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@Quiark
Copy link

Quiark commented Jun 23, 2017

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

@reivilibre reivilibre added A-Presence A-Spec-Compliance places where synapse does not conform to the spec A-Sync defects related to /sync S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. O-Uncommon Most users are unlikely to come across this or unexpected workflow labels May 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Presence A-Spec-Compliance places where synapse does not conform to the spec A-Sync defects related to /sync O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Minor Blocks non-critical functionality, workarounds exist. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

2 participants