Skip to content

Commit 4af5f7a

Browse files
committed
Manually enable the event cache as the default enabling hasn't made it to the RustSDK yet 🤦‍♂️
- matrix-org/matrix-rust-sdk#4308
1 parent 9ba4048 commit 4af5f7a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ElementX/Sources/Other/Extensions/ClientBuilder.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ extension ClientBuilder {
2222
.setSessionDelegate(sessionDelegate: sessionDelegate)
2323
.userAgent(userAgent: UserAgentBuilder.makeASCIIUserAgent())
2424
.requestConfig(config: .init(retryLimit: 0, timeout: 30000, maxConcurrentRequests: nil, retryTimeout: nil))
25+
.useEventCachePersistentStorage(value: true)
2526

2627
builder = switch slidingSync {
2728
case .restored: builder

0 commit comments

Comments
 (0)