Update the SDK, handle API breaks. (#4418)

This commit is contained in:
Doug
2025-08-15 17:25:51 +01:00
committed by GitHub
parent e8d09aa841
commit ed8f446735
5 changed files with 215 additions and 156 deletions
@@ -237,10 +237,8 @@ final class TimelineProxy: TimelineProxyProtocol {
caption: caption,
formattedCaption: nil, // Rust will build this from the caption's markdown.
mentions: nil,
inReplyTo: nil,
useSendQueue: true),
audioInfo: audioInfo,
progressWatcher: nil)
inReplyTo: nil),
audioInfo: audioInfo)
await requestHandle(handle)
@@ -265,10 +263,8 @@ final class TimelineProxy: TimelineProxyProtocol {
caption: caption,
formattedCaption: nil, // Rust will build this from the caption's markdown.
mentions: nil,
inReplyTo: nil,
useSendQueue: true),
fileInfo: fileInfo,
progressWatcher: nil)
inReplyTo: nil),
fileInfo: fileInfo)
await requestHandle(handle)
@@ -294,11 +290,9 @@ final class TimelineProxy: TimelineProxyProtocol {
caption: caption,
formattedCaption: nil, // Rust will build this from the caption's markdown.
mentions: nil,
inReplyTo: nil,
useSendQueue: true),
thumbnailPath: thumbnailURL.path(percentEncoded: false),
imageInfo: imageInfo,
progressWatcher: nil)
inReplyTo: nil),
thumbnailSource: .file(filename: thumbnailURL.path(percentEncoded: false)),
imageInfo: imageInfo)
await requestHandle(handle)
@@ -348,11 +342,9 @@ final class TimelineProxy: TimelineProxyProtocol {
caption: caption,
formattedCaption: nil,
mentions: nil,
inReplyTo: nil,
useSendQueue: true),
thumbnailPath: thumbnailURL.path(percentEncoded: false),
videoInfo: videoInfo,
progressWatcher: nil)
inReplyTo: nil),
thumbnailSource: .file(filename: thumbnailURL.path(percentEncoded: false)),
videoInfo: videoInfo)
await requestHandle(handle)
@@ -377,11 +369,9 @@ final class TimelineProxy: TimelineProxyProtocol {
caption: nil,
formattedCaption: nil,
mentions: nil,
inReplyTo: nil,
useSendQueue: true),
inReplyTo: nil),
audioInfo: audioInfo,
waveform: waveform,
progressWatcher: nil)
waveform: waveform)
await requestHandle(handle)