Skip to content

Commit f0b0602

Browse files
committed
Bump to v1.1.46 (matrix-rust-sdk/main 98a68632dfa5377c002adf0684891a116c9690b9)
1 parent 55425c7 commit f0b0602

File tree

2 files changed

+21
-14
lines changed

2 files changed

+21
-14
lines changed

Package.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let checksum = "e7f00b8c108da2f282bf511259069cdce1e704d72f443d4c9ea76143e8080a4c"
7-
let version = "v1.1.45"
6+
let checksum = "845bbfa8ccd4b2b4b68ba05e6e787a53251b53faf53e01f77b0bbf4ee3b1ad85"
7+
let version = "v1.1.46"
88
let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
99

1010
let package = Package(

Sources/MatrixRustSDK/matrix_sdk_ffi.swift

+19-12
Original file line numberDiff line numberDiff line change
@@ -17854,6 +17854,7 @@ public enum TimelineItemContentKind {
1785417854
endTime: UInt64?,
1785517855
hasBeenEdited: Bool
1785617856
)
17857+
case callInvite
1785717858
case unableToDecrypt(
1785817859
msg: EncryptedMessage
1785917860
)
@@ -17909,33 +17910,35 @@ public struct FfiConverterTypeTimelineItemContentKind: FfiConverterRustBuffer {
1790917910
hasBeenEdited: try FfiConverterBool.read(from: &buf)
1791017911
)
1791117912

17912-
case 5: return .unableToDecrypt(
17913+
case 5: return .callInvite
17914+
17915+
case 6: return .unableToDecrypt(
1791317916
msg: try FfiConverterTypeEncryptedMessage.read(from: &buf)
1791417917
)
1791517918

17916-
case 6: return .roomMembership(
17919+
case 7: return .roomMembership(
1791717920
userId: try FfiConverterString.read(from: &buf),
1791817921
change: try FfiConverterOptionTypeMembershipChange.read(from: &buf)
1791917922
)
1792017923

17921-
case 7: return .profileChange(
17924+
case 8: return .profileChange(
1792217925
displayName: try FfiConverterOptionString.read(from: &buf),
1792317926
prevDisplayName: try FfiConverterOptionString.read(from: &buf),
1792417927
avatarUrl: try FfiConverterOptionString.read(from: &buf),
1792517928
prevAvatarUrl: try FfiConverterOptionString.read(from: &buf)
1792617929
)
1792717930

17928-
case 8: return .state(
17931+
case 9: return .state(
1792917932
stateKey: try FfiConverterString.read(from: &buf),
1793017933
content: try FfiConverterTypeOtherState.read(from: &buf)
1793117934
)
1793217935

17933-
case 9: return .failedToParseMessageLike(
17936+
case 10: return .failedToParseMessageLike(
1793417937
eventType: try FfiConverterString.read(from: &buf),
1793517938
error: try FfiConverterString.read(from: &buf)
1793617939
)
1793717940

17938-
case 10: return .failedToParseState(
17941+
case 11: return .failedToParseState(
1793917942
eventType: try FfiConverterString.read(from: &buf),
1794017943
stateKey: try FfiConverterString.read(from: &buf),
1794117944
error: try FfiConverterString.read(from: &buf)
@@ -17975,39 +17978,43 @@ public struct FfiConverterTypeTimelineItemContentKind: FfiConverterRustBuffer {
1797517978
FfiConverterBool.write(hasBeenEdited, into: &buf)
1797617979

1797717980

17978-
case let .unableToDecrypt(msg):
17981+
case .callInvite:
1797917982
writeInt(&buf, Int32(5))
17983+
17984+
17985+
case let .unableToDecrypt(msg):
17986+
writeInt(&buf, Int32(6))
1798017987
FfiConverterTypeEncryptedMessage.write(msg, into: &buf)
1798117988

1798217989

1798317990
case let .roomMembership(userId,change):
17984-
writeInt(&buf, Int32(6))
17991+
writeInt(&buf, Int32(7))
1798517992
FfiConverterString.write(userId, into: &buf)
1798617993
FfiConverterOptionTypeMembershipChange.write(change, into: &buf)
1798717994

1798817995

1798917996
case let .profileChange(displayName,prevDisplayName,avatarUrl,prevAvatarUrl):
17990-
writeInt(&buf, Int32(7))
17997+
writeInt(&buf, Int32(8))
1799117998
FfiConverterOptionString.write(displayName, into: &buf)
1799217999
FfiConverterOptionString.write(prevDisplayName, into: &buf)
1799318000
FfiConverterOptionString.write(avatarUrl, into: &buf)
1799418001
FfiConverterOptionString.write(prevAvatarUrl, into: &buf)
1799518002

1799618003

1799718004
case let .state(stateKey,content):
17998-
writeInt(&buf, Int32(8))
18005+
writeInt(&buf, Int32(9))
1799918006
FfiConverterString.write(stateKey, into: &buf)
1800018007
FfiConverterTypeOtherState.write(content, into: &buf)
1800118008

1800218009

1800318010
case let .failedToParseMessageLike(eventType,error):
18004-
writeInt(&buf, Int32(9))
18011+
writeInt(&buf, Int32(10))
1800518012
FfiConverterString.write(eventType, into: &buf)
1800618013
FfiConverterString.write(error, into: &buf)
1800718014

1800818015

1800918016
case let .failedToParseState(eventType,stateKey,error):
18010-
writeInt(&buf, Int32(10))
18017+
writeInt(&buf, Int32(11))
1801118018
FfiConverterString.write(eventType, into: &buf)
1801218019
FfiConverterString.write(stateKey, into: &buf)
1801318020
FfiConverterString.write(error, into: &buf)

0 commit comments

Comments
 (0)