-
Notifications
You must be signed in to change notification settings - Fork 205
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
Add Sliding Sync /sync
endpoint (initial implementation)
#17187
Changes from 121 commits
f9e6e53
1e05a05
5e925f6
69f9143
d4ff933
371ec57
06d12e5
b8b70ba
c60a4f8
10ffae6
6bf4896
8871dac
0892283
adb7e20
f098355
6b7cfd7
b9e5379
f9c9d44
654e8f6
aee594a
2863fba
2dd0cde
c8256b6
ee6baba
f3db068
9bdfa16
7331401
b23abca
821a1b3
35ca937
4ad7a8b
3092ab5
3539abe
5f194f9
02cecfa
bfa8c63
07d84ab
6dadfe9
9ffafe7
f6122ff
2f112e7
c2221bb
717b160
c826550
fe48188
fd355f6
dd9356a
17783c3
343de8f
1b3a5bf
c82a084
514aba5
9749795
06ac1da
3da6bc1
d4b41aa
89db566
c7b8743
a7c6476
13d6146
c7f7ae4
4c7d7e6
6606ac1
ab0b844
a482545
04eeee6
8c3de84
37af87a
a822a05
f9fa683
d1bd02d
b5b3e77
65d9b79
adc0e2f
b12fee5
44e9a92
b632cbb
abf139a
a28569f
950fd70
8bf5a62
34d67fd
49998e0
09609cb
8f09313
803fbbe
a0c042e
271a196
4155e18
939695d
73c20d9
7b41f41
09638ac
8dca8f5
9c6ec25
1268a54
e4c66b8
35db057
3514aa0
970a0c6
64df6fb
8bb357a
03dd87a
9e46b2a
54dbc27
f6a5905
07f57a4
d3ce27b
dfee21a
3ce0892
2864837
2af467d
7bbe2ed
1fc1b58
6a6cdc6
278ba63
5678307
703cdc9
c7d1fc3
0f6646d
0153a6e
6f10b97
c89f012
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
Add initial implementation of an experimental [MSC3575](https://github.com/matrix-org/matrix-spec-proposals/pull/3575) Sliding Sync `/sync` endpoint. | ||
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -292,6 +292,9 @@ async def on_PUT( | |
try: | ||
if event_type == EventTypes.Member: | ||
membership = content.get("membership", None) | ||
if not isinstance(membership, str): | ||
raise SynapseError(400, "Invalid membership (must be a string)") | ||
Comment on lines
+295
to
+296
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To address failing CI:
|
||
|
||
event_id, _ = await self.room_member_handler.update_membership( | ||
requester, | ||
target=UserID.from_string(state_key), | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since this endpoint is currently using
/_matrix/client/unstable/org.matrix.simplified_msc3575/sync
, I don't think it would clash with the Sliding Sync proxy.