You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Missing support for retrieving and holding onto the unstable_features from /_matrix/clients/versions. Currently, only the versions key is fetched and used later.
Use Case:
According to MSC4028, clients should should check for the state of unstable feature MSC4028 on the homeserver.
To ensure the server supports the functionality before a spec release, clients should interpret an unstable feature org.matrix.msc4028 with a value of true in the response of the /_matrix/clients/versions endpoint as the feature being supported by the homeserver. Once released in the specification, clients should be checking for server support through advertised spec versions instead.
The text was updated successfully, but these errors were encountered:
hanadi92
changed the title
Missing support for fetching homeserver unstable features
Missing support for fetching homeserver unstable features (ffi MSC4028)
Mar 6, 2024
Fixes#3191
Allows support for fetching the unstable_features from `/_matrix/clients/versions`.
Specifically, to be used for checking the state of org.matrix.msc4028 through ffi to the clients.
---
* sdk: fetch unstable_features supported by homeserver
Signed-off-by: hanadi92 <hanadi.tamimi@gmail.com>
* ffi: add can_homeserver_push_encrypted_event_to_device method
Signed-off-by: hanadi92 <hanadi.tamimi@gmail.com>
* fix: use copied instead of dereferencing
Co-authored-by: Benjamin Bouvier <public@benj.me>
Signed-off-by: Hanadi <hanadi.tamimi@gmail.com>
* fix: move can_homeserver_push_encrypted_event_to_device logic to sdk
Signed-off-by: hanadi92 <hanadi.tamimi@gmail.com>
* fix: remove unused unstable features param in client builder
Signed-off-by: hanadi92 <hanadi.tamimi@gmail.com>
* fix: use assert instead of asserteq for bool check
Signed-off-by: hanadi92 <hanadi.tamimi@gmail.com>
* fix: documentation
Signed-off-by: hanadi92 <hanadi.tamimi@gmail.com>
* Apply suggestions from code review
Signed-off-by: Benjamin Bouvier <public@benj.me>
---------
Signed-off-by: hanadi92 <hanadi.tamimi@gmail.com>
Signed-off-by: Hanadi <hanadi.tamimi@gmail.com>
Signed-off-by: Benjamin Bouvier <public@benj.me>
Co-authored-by: Benjamin Bouvier <public@benj.me>
Description:
Missing support for retrieving and holding onto the unstable_features from
/_matrix/clients/versions
. Currently, only the versions key is fetched and used later.Use Case:
According to MSC4028, clients should should check for the state of unstable feature MSC4028 on the homeserver.
The text was updated successfully, but these errors were encountered: