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

Switch sliding sync support to simplified sliding sync #4400

Open
wants to merge 54 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
54 commits
Select commit Hold shift + click to select a range
65762c4
Switch sliding sync support to simplified sliding sync
dbkr Sep 12, 2024
2593998
Remove txn_id handling, ensure we always resend when req params change
kegsay Sep 13, 2024
6fba79c
Fix some tests
kegsay Sep 13, 2024
e26e926
Fix remaining tests
kegsay Sep 13, 2024
c75c06a
Mark TODOs on tests which need to die
kegsay Sep 13, 2024
7444094
Linting
kegsay Sep 13, 2024
bf7be48
Make comments lie less
kegsay Sep 13, 2024
ade2c86
void
kegsay Sep 13, 2024
b8c3419
Always sent full extension request
kegsay Sep 13, 2024
85400e9
Fix test
kegsay Sep 13, 2024
c44818f
Remove usage of deprecated field
kegsay Sep 13, 2024
aeeb25f
Hopefully fix DM names
kegsay Sep 13, 2024
244ca62
Refactor how heroes are handled in Room
kegsay Sep 16, 2024
bd3f9f7
Fix how heroes work
kegsay Sep 16, 2024
581b419
Linting
kegsay Sep 16, 2024
39b4e9d
Ensure that when SSS omits heroes we don't forget we had heroes
kegsay Sep 16, 2024
11e7a3d
Check the right flag when doing timeline trickling
kegsay Sep 16, 2024
511a873
Also change when the backpagination token is set
kegsay Sep 16, 2024
181d786
Remove list ops and server-provided sort positions
kegsay Sep 17, 2024
679a984
Linting
kegsay Sep 17, 2024
cf37e43
Add Room.bumpStamp
kegsay Sep 17, 2024
426aa93
Update crypto wasm lib
kegsay Sep 18, 2024
63a636f
Add performance logging
kegsay Sep 18, 2024
f8d4161
Fix breaking change in crypto wasm v8
kegsay Sep 18, 2024
1fd6675
Update crypto wasm for breaking changes
kegsay Sep 18, 2024
8616294
Mark all tracked users as dirty on expired SSS connections
kegsay Sep 18, 2024
3833273
Merge remote-tracking branch 'origin/develop' into dbkr/sss
dbkr Nov 21, 2024
8b7213b
add ts extension
dbkr Nov 21, 2024
c6f8440
Fix typedoc ref
dbkr Nov 21, 2024
336797e
Add method to interface
dbkr Nov 21, 2024
af846e7
Merge branch 'develop' into dbkr/sss
dbkr Dec 13, 2024
ec83c14
Don't force membership to invite
dbkr Dec 17, 2024
a75a263
Merge branch 'develop' into dbkr/sss
dbkr Feb 12, 2025
dec2cb0
Missed merge
dbkr Feb 12, 2025
1634b83
Type import
dbkr Feb 12, 2025
ebef4cd
Make coverage happier
dbkr Feb 12, 2025
ef87316
More test coverage
dbkr Feb 12, 2025
1dc3b4c
Merge branch 'develop' into dbkr/sss
dbkr Feb 17, 2025
f1d53cf
Grammar & formatting
dbkr Mar 6, 2025
4ece850
Remove markAllTrackedUsersAsDirty from crypto API
dbkr Mar 6, 2025
60f7bca
Remove I from interface
dbkr Mar 6, 2025
7954040
API doc
dbkr Mar 6, 2025
1d020df
Move Hero definition to room-summary
dbkr Mar 6, 2025
cc6ad7f
make comment more specific
dbkr Mar 6, 2025
e4527b5
Move internal details into room.ts
dbkr Mar 6, 2025
42099bb
Use terser arrow function syntax
dbkr Mar 7, 2025
38467e6
Move comment to where we do the lookup
dbkr Mar 6, 2025
ff25912
Clarify comment
dbkr Mar 7, 2025
26069c9
Add comment
dbkr Mar 7, 2025
de7c5ea
Add tsdoc
dbkr Mar 7, 2025
8a26967
more comment
dbkr Mar 7, 2025
a7d013f
Remove unrelated changes
dbkr Mar 7, 2025
7028a88
Add docs & make fields optional
dbkr Mar 7, 2025
ee0219e
Type import
dbkr Mar 7, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Check the right flag when doing timeline trickling
kegsay committed Sep 16, 2024
commit 11e7a3da2160ee2dae96615fe5f3c250f9ecadcf
2 changes: 1 addition & 1 deletion src/sliding-sync-sdk.ts
Original file line number Diff line number Diff line change
@@ -573,7 +573,7 @@ export class SlidingSyncSdk {

// TODO: handle threaded / beacon events

if (roomData.initial) {
if (roomData.limited || roomData.initial) {
// we should not know about any of these timeline entries if this is a genuinely new room.
// If we do, then we've effectively done scrollback (e.g requesting timeline_limit: 1 for
// this room, then timeline_limit: 50).