Skip to content

Commit b4a0657

Browse files
committed
Bump to version 26.02.10 (matrix-rust-sdk/main f1e41222f8c4bcc777288ceb39f805b2b44e8468)
1 parent a31fcfe commit b4a0657

File tree

2 files changed

+17
-11
lines changed

2 files changed

+17
-11
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 = "6ec0de64811a16427af77ba0bdf91c9cee24caea3e82ebd55056978f2442bfb7"
5-
let version = "26.02.03"
4+
let checksum = "a41191d4f3377d1dc2ddaac8b3b07f1e71355a042d658e27668a45ea2a2cdd83"
5+
let version = "26.02.10"
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: 15 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -19390,6 +19390,10 @@ public func FfiConverterTypeNoticeMessageContent_lower(_ value: NoticeMessageCon
1939019390

1939119391
public struct NotificationItem {
1939219392
public var event: NotificationEvent
19393+
/**
19394+
* The raw JSON of the underlying event.
19395+
*/
19396+
public var rawEvent: String
1939319397
public var senderInfo: NotificationSenderInfo
1939419398
public var roomInfo: NotificationRoomInfo
1939519399
/**
@@ -19407,7 +19411,10 @@ public struct NotificationItem {
1940719411

1940819412
// Default memberwise initializers are never public by default, so we
1940919413
// declare one manually.
19410-
public init(event: NotificationEvent, senderInfo: NotificationSenderInfo, roomInfo: NotificationRoomInfo,
19414+
public init(event: NotificationEvent,
19415+
/**
19416+
* The raw JSON of the underlying event.
19417+
*/rawEvent: String, senderInfo: NotificationSenderInfo, roomInfo: NotificationRoomInfo,
1941119418
/**
1941219419
* Is the notification supposed to be at the "noisy" level?
1941319420
* Can be `None` if we couldn't determine this, because we lacked
@@ -19417,6 +19424,7 @@ public struct NotificationItem {
1941719424
* The push actions for this notification (notify, sound, highlight, etc.).
1941819425
*/actions: [Action]?) {
1941919426
self.event = event
19427+
self.rawEvent = rawEvent
1942019428
self.senderInfo = senderInfo
1942119429
self.roomInfo = roomInfo
1942219430
self.isNoisy = isNoisy
@@ -19442,6 +19450,7 @@ public struct FfiConverterTypeNotificationItem: FfiConverterRustBuffer {
1944219450
return
1944319451
try NotificationItem(
1944419452
event: FfiConverterTypeNotificationEvent.read(from: &buf),
19453+
rawEvent: FfiConverterString.read(from: &buf),
1944519454
senderInfo: FfiConverterTypeNotificationSenderInfo.read(from: &buf),
1944619455
roomInfo: FfiConverterTypeNotificationRoomInfo.read(from: &buf),
1944719456
isNoisy: FfiConverterOptionBool.read(from: &buf),
@@ -19453,6 +19462,7 @@ public struct FfiConverterTypeNotificationItem: FfiConverterRustBuffer {
1945319462

1945419463
public static func write(_ value: NotificationItem, into buf: inout [UInt8]) {
1945519464
FfiConverterTypeNotificationEvent.write(value.event, into: &buf)
19465+
FfiConverterString.write(value.rawEvent, into: &buf)
1945619466
FfiConverterTypeNotificationSenderInfo.write(value.senderInfo, into: &buf)
1945719467
FfiConverterTypeNotificationRoomInfo.write(value.roomInfo, into: &buf)
1945819468
FfiConverterOptionBool.write(value.isNoisy, into: &buf)
@@ -37483,8 +37493,7 @@ public enum TimelineFocus: Equatable, Hashable {
3748337493
* The thread root event ID to focus on.
3748437494
*/rootEventId: String
3748537495
)
37486-
case pinnedEvents(maxEventsToLoad: UInt16, maxConcurrentRequests: UInt16
37487-
)
37496+
case pinnedEvents
3748837497

3748937498

3749037499

@@ -37515,8 +37524,7 @@ public struct FfiConverterTypeTimelineFocus: FfiConverterRustBuffer {
3751537524
case 3: return .thread(rootEventId: try FfiConverterString.read(from: &buf)
3751637525
)
3751737526

37518-
case 4: return .pinnedEvents(maxEventsToLoad: try FfiConverterUInt16.read(from: &buf), maxConcurrentRequests: try FfiConverterUInt16.read(from: &buf)
37519-
)
37527+
case 4: return .pinnedEvents
3752037528

3752137529
default: throw UniffiInternalError.unexpectedEnumCase
3752237530
}
@@ -37543,11 +37551,9 @@ public struct FfiConverterTypeTimelineFocus: FfiConverterRustBuffer {
3754337551
FfiConverterString.write(rootEventId, into: &buf)
3754437552

3754537553

37546-
case let .pinnedEvents(maxEventsToLoad,maxConcurrentRequests):
37554+
case .pinnedEvents:
3754737555
writeInt(&buf, Int32(4))
37548-
FfiConverterUInt16.write(maxEventsToLoad, into: &buf)
37549-
FfiConverterUInt16.write(maxConcurrentRequests, into: &buf)
37550-
37556+
3755137557
}
3755237558
}
3755337559
}

0 commit comments

Comments
 (0)