Skip to content

Commit 8f41a08

Browse files
committed
Bump to v1.1.33 (matrix-rust-sdk/main 8aef687dcb9182ad996f649cfdc3e19997354e9b)
1 parent 07556e1 commit 8f41a08

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
import PackageDescription
55

6-
let checksum = "d1794c3677997997a0edde8e62db2abfa516cb7497a09c89acf906395bf44cdf"
7-
let version = "v1.1.32"
6+
let checksum = "08b52cb3927bec452396036d9df48e79d17703cc626a7e42571b5304c79300d6"
7+
let version = "v1.1.33"
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

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8929,14 +8929,17 @@ public func FfiConverterTypeNotificationRoomInfo_lower(_ value: NotificationRoom
89298929
public struct NotificationSenderInfo {
89308930
public var displayName: String?
89318931
public var avatarUrl: String?
8932+
public var isNameAmbiguous: Bool
89328933

89338934
// Default memberwise initializers are never public by default, so we
89348935
// declare one manually.
89358936
public init(
89368937
displayName: String?,
8937-
avatarUrl: String?) {
8938+
avatarUrl: String?,
8939+
isNameAmbiguous: Bool) {
89388940
self.displayName = displayName
89398941
self.avatarUrl = avatarUrl
8942+
self.isNameAmbiguous = isNameAmbiguous
89408943
}
89418944
}
89428945

@@ -8949,12 +8952,16 @@ extension NotificationSenderInfo: Equatable, Hashable {
89498952
if lhs.avatarUrl != rhs.avatarUrl {
89508953
return false
89518954
}
8955+
if lhs.isNameAmbiguous != rhs.isNameAmbiguous {
8956+
return false
8957+
}
89528958
return true
89538959
}
89548960

89558961
public func hash(into hasher: inout Hasher) {
89568962
hasher.combine(displayName)
89578963
hasher.combine(avatarUrl)
8964+
hasher.combine(isNameAmbiguous)
89588965
}
89598966
}
89608967

@@ -8964,13 +8971,15 @@ public struct FfiConverterTypeNotificationSenderInfo: FfiConverterRustBuffer {
89648971
return
89658972
try NotificationSenderInfo(
89668973
displayName: FfiConverterOptionString.read(from: &buf),
8967-
avatarUrl: FfiConverterOptionString.read(from: &buf)
8974+
avatarUrl: FfiConverterOptionString.read(from: &buf),
8975+
isNameAmbiguous: FfiConverterBool.read(from: &buf)
89688976
)
89698977
}
89708978

89718979
public static func write(_ value: NotificationSenderInfo, into buf: inout [UInt8]) {
89728980
FfiConverterOptionString.write(value.displayName, into: &buf)
89738981
FfiConverterOptionString.write(value.avatarUrl, into: &buf)
8982+
FfiConverterBool.write(value.isNameAmbiguous, into: &buf)
89748983
}
89758984
}
89768985

0 commit comments

Comments
 (0)