Skip to content

Commit 7887d8d

Browse files
committed
Bump to version v1.0.71 (matrix-rust-sdk/main 60893d2)
1 parent e165119 commit 7887d8d

File tree

2 files changed

+15
-4
lines changed

2 files changed

+15
-4
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// swift-tools-version:5.9
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33
import PackageDescription
4-
let checksum = "4231bfb96fcfbbe63b20007bd1082a37d3a7f9819b07d1edd946211bf939b7af"
5-
let version = "v1.0.70"
4+
let checksum = "e7a13504052ed5ef1e651c9b11ee7077f5e543ebd7af262e5476b2d4f8bd436c"
5+
let version = "v1.0.71"
66
let url = "https://github.com/element-hq/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
77
let package = Package(
88
name: "MatrixRustSDK",

Sources/MatrixRustSDK/matrix_sdk_ffi.swift

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17825,6 +17825,8 @@ public enum EditedContent {
1782517825

1782617826
case roomMessage(content: RoomMessageEventContentWithoutRelation
1782717827
)
17828+
case mediaCaption(caption: String?, formattedCaption: FormattedBody?
17829+
)
1782817830
case pollStart(pollData: PollData
1782917831
)
1783017832
}
@@ -17840,7 +17842,10 @@ public struct FfiConverterTypeEditedContent: FfiConverterRustBuffer {
1784017842
case 1: return .roomMessage(content: try FfiConverterTypeRoomMessageEventContentWithoutRelation.read(from: &buf)
1784117843
)
1784217844

17843-
case 2: return .pollStart(pollData: try FfiConverterTypePollData.read(from: &buf)
17845+
case 2: return .mediaCaption(caption: try FfiConverterOptionString.read(from: &buf), formattedCaption: try FfiConverterOptionTypeFormattedBody.read(from: &buf)
17846+
)
17847+
17848+
case 3: return .pollStart(pollData: try FfiConverterTypePollData.read(from: &buf)
1784417849
)
1784517850

1784617851
default: throw UniffiInternalError.unexpectedEnumCase
@@ -17856,8 +17861,14 @@ public struct FfiConverterTypeEditedContent: FfiConverterRustBuffer {
1785617861
FfiConverterTypeRoomMessageEventContentWithoutRelation.write(content, into: &buf)
1785717862

1785817863

17859-
case let .pollStart(pollData):
17864+
case let .mediaCaption(caption,formattedCaption):
1786017865
writeInt(&buf, Int32(2))
17866+
FfiConverterOptionString.write(caption, into: &buf)
17867+
FfiConverterOptionTypeFormattedBody.write(formattedCaption, into: &buf)
17868+
17869+
17870+
case let .pollStart(pollData):
17871+
writeInt(&buf, Int32(3))
1786117872
FfiConverterTypePollData.write(pollData, into: &buf)
1786217873

1786317874
}

0 commit comments

Comments
 (0)