Bump to v1.1.33 (matrix-rust-sdk/main 8aef687dcb9182ad996f649cfdc3e19997354e9b)
This commit is contained in:
parent
07556e1b47
commit
8f41a08bb3
|
@ -3,8 +3,8 @@
|
|||
|
||||
import PackageDescription
|
||||
|
||||
let checksum = "d1794c3677997997a0edde8e62db2abfa516cb7497a09c89acf906395bf44cdf"
|
||||
let version = "v1.1.32"
|
||||
let checksum = "08b52cb3927bec452396036d9df48e79d17703cc626a7e42571b5304c79300d6"
|
||||
let version = "v1.1.33"
|
||||
let url = "https://github.com/matrix-org/matrix-rust-components-swift/releases/download/\(version)/MatrixSDKFFI.xcframework.zip"
|
||||
|
||||
let package = Package(
|
||||
|
|
|
@ -8929,14 +8929,17 @@ public func FfiConverterTypeNotificationRoomInfo_lower(_ value: NotificationRoom
|
|||
public struct NotificationSenderInfo {
|
||||
public var displayName: String?
|
||||
public var avatarUrl: String?
|
||||
public var isNameAmbiguous: Bool
|
||||
|
||||
// Default memberwise initializers are never public by default, so we
|
||||
// declare one manually.
|
||||
public init(
|
||||
displayName: String?,
|
||||
avatarUrl: String?) {
|
||||
avatarUrl: String?,
|
||||
isNameAmbiguous: Bool) {
|
||||
self.displayName = displayName
|
||||
self.avatarUrl = avatarUrl
|
||||
self.isNameAmbiguous = isNameAmbiguous
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -8949,12 +8952,16 @@ extension NotificationSenderInfo: Equatable, Hashable {
|
|||
if lhs.avatarUrl != rhs.avatarUrl {
|
||||
return false
|
||||
}
|
||||
if lhs.isNameAmbiguous != rhs.isNameAmbiguous {
|
||||
return false
|
||||
}
|
||||
return true
|
||||
}
|
||||
|
||||
public func hash(into hasher: inout Hasher) {
|
||||
hasher.combine(displayName)
|
||||
hasher.combine(avatarUrl)
|
||||
hasher.combine(isNameAmbiguous)
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -8964,13 +8971,15 @@ public struct FfiConverterTypeNotificationSenderInfo: FfiConverterRustBuffer {
|
|||
return
|
||||
try NotificationSenderInfo(
|
||||
displayName: FfiConverterOptionString.read(from: &buf),
|
||||
avatarUrl: FfiConverterOptionString.read(from: &buf)
|
||||
avatarUrl: FfiConverterOptionString.read(from: &buf),
|
||||
isNameAmbiguous: FfiConverterBool.read(from: &buf)
|
||||
)
|
||||
}
|
||||
|
||||
public static func write(_ value: NotificationSenderInfo, into buf: inout [UInt8]) {
|
||||
FfiConverterOptionString.write(value.displayName, into: &buf)
|
||||
FfiConverterOptionString.write(value.avatarUrl, into: &buf)
|
||||
FfiConverterBool.write(value.isNameAmbiguous, into: &buf)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue