Commit Graph
14 Commits
Author SHA1 Message Date
Ginger ae9f57339c fix(sync/v3): Remove mysterious membership event manipulation code 2025-11-13 12:27:03 -05:00
Ginger be7fb291e5 fix(sync/v3): Properly sync room heroes 2025-11-13 12:27:03 -05:00
Ginger 94224f00b3 chore(sync/v3): Use "build_*" terminology instead of "calculate_*" 2025-11-13 12:27:03 -05:00
Ginger 1704ca0755 chore(sync/v3): Use more descriptive names for SyncContext properties 2025-11-13 12:27:03 -05:00
Ginger 74886a8697 chore: Remove unneeded comment 2025-11-13 12:27:03 -05:00
Ginger e1f558d91a fix: Use prepare_lazily_loaded_members for joined rooms
Also, don't take read receipts into consideration for lazy loading.
Synapse doesn't do this and they're making initial syncs very large.
2025-11-13 12:27:03 -05:00
Jade Ellis 7050da1c64 feat: Typing notifications in simplified sliding sync
What's missing? Being able to use separate rooms & lists for typing
indicators.
At the moment, we use the same ones as we use for the timeline, as
todo_rooms is quite intertwined. We need to disentangle this to get that
functionality, although I'm not sure if clients use it.
2025-11-13 12:27:03 -05:00
Ginger d8a4aab6f5 feat: Add a config option to change the max TL size for legacy sync 2025-11-13 12:27:03 -05:00
Ginger d426c423c7 fix: Set limited to true for newly joined rooms again 2025-11-13 12:27:03 -05:00
Ginger e4870eca8f fix: Properly sync left rooms
- Remove most usages of `update_membership` in favor
  of directly calling the `mark_as_*` functions
- Store the leave membership event as the value in the
  `userroomid_leftstate` table
- Use the `userroomid_leftstate` table to synchronize the
  timeline and state for left rooms if possible
2025-11-13 12:27:03 -05:00
Ginger e422bc3ac3 fix: Properly sync newly joined rooms 2025-11-13 12:27:03 -05:00
Ginger c723cd4f88 fix(sync/v3): Further cleanup + improve incremental sync consistency 2025-11-13 12:27:03 -05:00
Ginger b14b077a60 fix: Correctly send limited timelines again 2025-11-13 12:27:03 -05:00
Ginger c22cf1a0e4 refactor: Split sync v3 into multiple files 2025-11-13 12:27:03 -05:00