Bump the RustSDK to v25.04.02

This commit is contained in:
Stefan Ceriu
2025-04-03 15:08:15 +03:00
parent b8bf2a08f6
commit 62636d8378
8 changed files with 342 additions and 78 deletions
@@ -52,6 +52,6 @@ struct AuthenticationClientBuilder: AuthenticationClientBuilderProtocol {
eventCacheEnabled: appSettings.eventCacheEnabled)
.sessionPaths(dataPath: sessionDirectories.dataPath,
cachePath: sessionDirectories.cachePath)
.passphrase(passphrase: passphrase)
.sessionPassphrase(passphrase: passphrase)
}
}
@@ -236,6 +236,7 @@ final class TimelineProxy: TimelineProxyProtocol {
caption: caption,
formattedCaption: nil, // Rust will build this from the caption's markdown.
mentions: nil,
replyParams: nil,
useSendQueue: true),
audioInfo: audioInfo,
progressWatcher: nil)
@@ -263,6 +264,7 @@ final class TimelineProxy: TimelineProxyProtocol {
caption: caption,
formattedCaption: nil, // Rust will build this from the caption's markdown.
mentions: nil,
replyParams: nil,
useSendQueue: true),
fileInfo: fileInfo,
progressWatcher: nil)
@@ -291,6 +293,7 @@ final class TimelineProxy: TimelineProxyProtocol {
caption: caption,
formattedCaption: nil, // Rust will build this from the caption's markdown.
mentions: nil,
replyParams: nil,
useSendQueue: true),
thumbnailPath: thumbnailURL.path(percentEncoded: false),
imageInfo: imageInfo,
@@ -338,6 +341,7 @@ final class TimelineProxy: TimelineProxyProtocol {
caption: caption,
formattedCaption: nil,
mentions: nil,
replyParams: nil,
useSendQueue: true),
thumbnailPath: thumbnailURL.path(percentEncoded: false),
videoInfo: videoInfo,
@@ -366,6 +370,7 @@ final class TimelineProxy: TimelineProxyProtocol {
caption: nil,
formattedCaption: nil,
mentions: nil,
replyParams: nil,
useSendQueue: true),
audioInfo: audioInfo,
waveform: waveform,
@@ -129,7 +129,7 @@ class UserSessionStore: UserSessionStoreProtocol {
cachePath: credentials.restorationToken.sessionDirectories.cachePath)
.username(username: credentials.userID)
.homeserverUrl(url: homeserverURL)
.passphrase(passphrase: credentials.restorationToken.passphrase)
.sessionPassphrase(passphrase: credentials.restorationToken.passphrase)
do {
let client = try await builder.build()