@@ -1841,6 +1841,13 @@ public protocol ClientBuilderProtocol : AnyObject {
1841
1841
1842
1842
func disableAutomaticTokenRefresh() -> ClientBuilder
1843
1843
1844
+ /**
1845
+ * Don't trust any system root certificates, only trust the certificates
1846
+ * provided through
1847
+ * [`add_root_certificates`][ClientBuilder::add_root_certificates].
1848
+ */
1849
+ func disableBuiltInRootCertificates() -> ClientBuilder
1850
+
1844
1851
func disableSslVerification() -> ClientBuilder
1845
1852
1846
1853
func enableCrossProcessRefreshLock(processId: String, sessionDelegate: ClientSessionDelegate) -> ClientBuilder
@@ -1868,6 +1875,8 @@ public protocol ClientBuilderProtocol : AnyObject {
1868
1875
1869
1876
func setSessionDelegate(sessionDelegate: ClientSessionDelegate) -> ClientBuilder
1870
1877
1878
+ func simplifiedSlidingSync(enable: Bool) -> ClientBuilder
1879
+
1871
1880
func slidingSyncProxy(slidingSyncProxy: String?) -> ClientBuilder
1872
1881
1873
1882
func userAgent(userAgent: String) -> ClientBuilder
@@ -2018,6 +2027,18 @@ open func disableAutomaticTokenRefresh() -> ClientBuilder {
2018
2027
uniffi_matrix_sdk_ffi_fn_method_clientbuilder_disable_automatic_token_refresh(self.uniffiClonePointer(),$0
2019
2028
)
2020
2029
})
2030
+ }
2031
+
2032
+ /**
2033
+ * Don't trust any system root certificates, only trust the certificates
2034
+ * provided through
2035
+ * [`add_root_certificates`][ClientBuilder::add_root_certificates].
2036
+ */
2037
+ open func disableBuiltInRootCertificates() -> ClientBuilder {
2038
+ return try! FfiConverterTypeClientBuilder.lift(try! rustCall() {
2039
+ uniffi_matrix_sdk_ffi_fn_method_clientbuilder_disable_built_in_root_certificates(self.uniffiClonePointer(),$0
2040
+ )
2041
+ })
2021
2042
}
2022
2043
2023
2044
open func disableSslVerification() -> ClientBuilder {
@@ -2106,6 +2127,14 @@ open func setSessionDelegate(sessionDelegate: ClientSessionDelegate) -> ClientBu
2106
2127
})
2107
2128
}
2108
2129
2130
+ open func simplifiedSlidingSync(enable: Bool) -> ClientBuilder {
2131
+ return try! FfiConverterTypeClientBuilder.lift(try! rustCall() {
2132
+ uniffi_matrix_sdk_ffi_fn_method_clientbuilder_simplified_sliding_sync(self.uniffiClonePointer(),
2133
+ FfiConverterBool.lower(enable),$0
2134
+ )
2135
+ })
2136
+ }
2137
+
2109
2138
open func slidingSyncProxy(slidingSyncProxy: String?) -> ClientBuilder {
2110
2139
return try! FfiConverterTypeClientBuilder.lift(try! rustCall() {
2111
2140
uniffi_matrix_sdk_ffi_fn_method_clientbuilder_sliding_sync_proxy(self.uniffiClonePointer(),
@@ -6474,8 +6503,6 @@ public protocol RoomListItemProtocol : AnyObject {
6474
6503
6475
6504
func subscribe(settings: RoomSubscription?)
6476
6505
6477
- func unsubscribe()
6478
-
6479
6506
}
6480
6507
6481
6508
open class RoomListItem:
@@ -6674,12 +6701,6 @@ open func subscribe(settings: RoomSubscription?) {try! rustCall() {
6674
6701
}
6675
6702
}
6676
6703
6677
- open func unsubscribe() {try! rustCall() {
6678
- uniffi_matrix_sdk_ffi_fn_method_roomlistitem_unsubscribe(self.uniffiClonePointer(),$0
6679
- )
6680
- }
6681
- }
6682
-
6683
6704
6684
6705
}
6685
6706
@@ -25867,6 +25888,9 @@ private var initializationResult: InitializationResult = {
25867
25888
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_disable_automatic_token_refresh() != 43839) {
25868
25889
return InitializationResult.apiChecksumMismatch
25869
25890
}
25891
+ if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_disable_built_in_root_certificates() != 47525) {
25892
+ return InitializationResult.apiChecksumMismatch
25893
+ }
25870
25894
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_disable_ssl_verification() != 2334) {
25871
25895
return InitializationResult.apiChecksumMismatch
25872
25896
}
@@ -25897,6 +25921,9 @@ private var initializationResult: InitializationResult = {
25897
25921
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_set_session_delegate() != 8576) {
25898
25922
return InitializationResult.apiChecksumMismatch
25899
25923
}
25924
+ if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_simplified_sliding_sync() != 7554) {
25925
+ return InitializationResult.apiChecksumMismatch
25926
+ }
25900
25927
if (uniffi_matrix_sdk_ffi_checksum_method_clientbuilder_sliding_sync_proxy() != 15622) {
25901
25928
return InitializationResult.apiChecksumMismatch
25902
25929
}
@@ -26407,9 +26434,6 @@ private var initializationResult: InitializationResult = {
26407
26434
if (uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_subscribe() != 60003) {
26408
26435
return InitializationResult.apiChecksumMismatch
26409
26436
}
26410
- if (uniffi_matrix_sdk_ffi_checksum_method_roomlistitem_unsubscribe() != 45026) {
26411
- return InitializationResult.apiChecksumMismatch
26412
- }
26413
26437
if (uniffi_matrix_sdk_ffi_checksum_method_roomlistservice_all_rooms() != 49704) {
26414
26438
return InitializationResult.apiChecksumMismatch
26415
26439
}
0 commit comments