Watch
0
0
Fork
You've already forked hyperhive
0
Commit graph hyperhive/hive-matrix-mcp/src/sliding.rs
Author SHA1 Message Date
damocles
b89ca3955a hive-matrix: the unread sweep after a sync looks at the rooms the sync touched, not at every joined room
Each room the sweep looks at costs a live /messages fetch of up to 50 events, and the sweep ran for every joined room after every sync response, so a busy account fetched thousands of times an hour whatever the sync itself carried. The sweep now covers the rooms the response names (sliding sync's UpdateSummary rooms, classic's joined rooms), with a full pass first and every five minutes.
2026-11-11 17:05:57 +01:00
damocles
f8beca4e6a hive-matrix: sliding sync starts again, the crypto store's classic /sync token is reset before it is sent as to_device.since
The sdk sends the crypto store's next_batch_token as extensions.to_device.since. Classic /sync writes its own token there, which the homeserver refuses (400, should look like an int), so every start fell back to /sync and wrote the classic token again. The daemon now replaces a non-integer token with 0 before the client opens the store.
2026-11-11 10:09:33 +01:00
damocles
c1bb54b818 hive-matrix-mcp: leave the typing extension off in sliding sync 2026-11-10 06:48:09 +01:00
damocles
c41429e473 hive-matrix-mcp: sync with sliding sync when the server has it, classic /sync otherwise 2026-11-09 15:38:57 +01:00