Bump the RustSDK to v25.03.05

- adopt the new timeline configuration which now exposes read receipts tracking. For now it should be set to `false` for all timelines except the live one, which still gets configured properly on the rust side through `init_timeline`. Eventually we will converge on this configuration API for all of them.
- also adopt the new rust side cache clearing method and remove our own
This commit is contained in:
Stefan Ceriu
2025-03-05 13:30:18 +02:00
committed by Stefan Ceriu
parent fb8a1f33d8
commit 4d34a1ed56
12 changed files with 226 additions and 66 deletions
@@ -702,6 +702,15 @@ class ClientProxy: ClientProxyProtocol {
func getElementWellKnown() async -> Result<ElementWellKnown?, ClientProxyError> {
await client.getElementWellKnown().map(ElementWellKnown.init)
}
func clearCaches() async -> Result<Void, ClientProxyError> {
do {
return try await .success(client.clearCaches())
} catch {
MXLog.error("Failed clearing client caches with error: \(error)")
return .failure(.sdkError(error))
}
}
// MARK: Ignored users