Skip to content

Commit

Permalink
Bump to v1.1.30 (matrix-rust-sdk/main fb1ff705388e11234bc11726f30ca99…
Browse files Browse the repository at this point in the history
…96718a51c)
  • Loading branch information
Velin92 committed Dec 21, 2023
1 parent 2f0af88 commit 9b63f21
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import PackageDescription

let checksum = "068d337ebde0890d9fbc3ea31f6d93d31c2c626b3a28ace1a17ec33d854b00d1"
let version = "v0.0.1-recovery-state-debugging"
let checksum = "174db31d9bd30283d910dff26b238365cb9f477b70118578e256f7ad1e1ed8fa"
let version = "v1.1.30"
let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"

let package = Package(
Expand Down
16 changes: 14 additions & 2 deletions Sources/MatrixRustSDK/matrix_sdk_ffi.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8776,10 +8776,13 @@ public struct RoomInfo {
public var userDefinedNotificationMode: RoomNotificationMode?
public var hasRoomCall: Bool
public var activeRoomCallParticipants: [String]
public var numUnreadMessages: UInt64
public var numUnreadNotifications: UInt64
public var numUnreadMentions: UInt64

// Default memberwise initializers are never public by default, so we
// declare one manually.
public init(id: String, name: String?, topic: String?, avatarUrl: String?, isDirect: Bool, isPublic: Bool, isSpace: Bool, isTombstoned: Bool, canonicalAlias: String?, alternativeAliases: [String], membership: Membership, latestEvent: EventTimelineItem?, inviter: RoomMember?, activeMembersCount: UInt64, invitedMembersCount: UInt64, joinedMembersCount: UInt64, highlightCount: UInt64, notificationCount: UInt64, userDefinedNotificationMode: RoomNotificationMode?, hasRoomCall: Bool, activeRoomCallParticipants: [String]) {
public init(id: String, name: String?, topic: String?, avatarUrl: String?, isDirect: Bool, isPublic: Bool, isSpace: Bool, isTombstoned: Bool, canonicalAlias: String?, alternativeAliases: [String], membership: Membership, latestEvent: EventTimelineItem?, inviter: RoomMember?, activeMembersCount: UInt64, invitedMembersCount: UInt64, joinedMembersCount: UInt64, highlightCount: UInt64, notificationCount: UInt64, userDefinedNotificationMode: RoomNotificationMode?, hasRoomCall: Bool, activeRoomCallParticipants: [String], numUnreadMessages: UInt64, numUnreadNotifications: UInt64, numUnreadMentions: UInt64) {
self.id = id
self.name = name
self.topic = topic
Expand All @@ -8801,6 +8804,9 @@ public struct RoomInfo {
self.userDefinedNotificationMode = userDefinedNotificationMode
self.hasRoomCall = hasRoomCall
self.activeRoomCallParticipants = activeRoomCallParticipants
self.numUnreadMessages = numUnreadMessages
self.numUnreadNotifications = numUnreadNotifications
self.numUnreadMentions = numUnreadMentions
}
}

Expand Down Expand Up @@ -8830,7 +8836,10 @@ public struct FfiConverterTypeRoomInfo: FfiConverterRustBuffer {
notificationCount: FfiConverterUInt64.read(from: &buf),
userDefinedNotificationMode: FfiConverterOptionTypeRoomNotificationMode.read(from: &buf),
hasRoomCall: FfiConverterBool.read(from: &buf),
activeRoomCallParticipants: FfiConverterSequenceString.read(from: &buf)
activeRoomCallParticipants: FfiConverterSequenceString.read(from: &buf),
numUnreadMessages: FfiConverterUInt64.read(from: &buf),
numUnreadNotifications: FfiConverterUInt64.read(from: &buf),
numUnreadMentions: FfiConverterUInt64.read(from: &buf)
)
}

Expand All @@ -8856,6 +8865,9 @@ public struct FfiConverterTypeRoomInfo: FfiConverterRustBuffer {
FfiConverterOptionTypeRoomNotificationMode.write(value.userDefinedNotificationMode, into: &buf)
FfiConverterBool.write(value.hasRoomCall, into: &buf)
FfiConverterSequenceString.write(value.activeRoomCallParticipants, into: &buf)
FfiConverterUInt64.write(value.numUnreadMessages, into: &buf)
FfiConverterUInt64.write(value.numUnreadNotifications, into: &buf)
FfiConverterUInt64.write(value.numUnreadMentions, into: &buf)
}
}

Expand Down

0 comments on commit 9b63f21

Please sign in to comment.