-
Notifications
You must be signed in to change notification settings - Fork 158
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
Simplified Sliding Sync should be enabled by default if your homeserver supports it (and doesn't have a SS proxy). #3256
Comments
The Rust side of this is https://github.com/matrix-org/matrix-rust-sdk/blob/d03d3cff1707743af898c89a2e30b301e79e3845/crates/matrix-sdk/src/client/builder.rs#L475-L493. Which is triggered by Lines 53 to 115 in b9942cc
|
I do not think the client need to validate the usage of SSS. I believe the feature flag has been added to prevent user from being stuck if there is a problem with SSS and using the proxy was OK. So I think the SDK should use SSS if there is no proxy. WDYT @Hywan ? |
It's the entire migration from SS proxy to SS native project, element-hq/element-meta#2499. I think it's better to close this issue, as it will create duplicated discussions. |
But so will we see this anytime soon? |
@bmarty Does Element X Android support detecting and switching from SS proxy to SSS (MSC3575 <> MSC4186)? |
Element X iOS (nightly) does already support this yes. |
Oh, that's splendid. I hope that soon gets implemented in the android version as well. |
Can you maybe point me to the commit that added this support? I am looking through the changes since the last release and can't find it. |
cc @stefanceriu @jmartinesp :-) |
|
Migration to native SS PR: #3429 Force logout when SS proxy is no longer available but native SS is (aka forced migration): #3458 Fix for native sliding sync being incorrectly forced: #3489 Note that having native sliding sync enabled in the EX app is currently based in a developer setting flag that it's now |
We have everything in place to have this working. We just forgot to close this issue in favor of the work that happened in element-hq/element-meta#2499. |
Update
Currently in order to use EX you need to:
org.matrix.msc3575.proxy
to your.well-known/matrix/client
.So probably this just needs to be a thing where if the simplified feature is enabled and the proxy isn't, we go straight for simplified.
My quite wrong ramblings are preserved below.
Your use case
What would you like to do?
I'd like to run Element X using just Synapse and the Simplified Sliding Sync feature.
Why would you like to do it?
I'd really like to use Element X, and I don't want to run the SS Proxy.
How would you like to achieve it?
Probably we should have a mechanism to detect if the homeserver supports Simplified Sliding Sync and pre-enable the developer flag for the moment. Maybe a /versions check, although the feature doesn't have a corresponding flag. I suppose you could also just POST the endpoint and check to see if it comes back with something other than 404. The possibilities are endless!
Have you considered any alternatives?
The clear alternative is running a proxy, and then turning it off. For obvious reasons, absolutely not :)
Additional context
#3222 is the PR that added the feature.
Are you willing to provide a PR?
No
The text was updated successfully, but these errors were encountered: