Skip to content

Commit 8dd60f0

Browse files
committed
Bump to version 25.10.07-2 (matrix-rust-sdk/main c7b4b5dc053b84242b1b43d21bad0002dae19952)
1 parent 2617a5c commit 8dd60f0

File tree

2 files changed

+27
-11
lines changed

2 files changed

+27
-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 = "b7215754fdd999c837c08cf4f6f71469a8a474ff339481c705890fe2aac69780"
5-
let version = "25.10.07"
4+
let checksum = "18feecbac4193627c367aed7b3d86b3cf71d7f82d1a362eb5cd9ad5bc43b272d"
5+
let version = "25.10.07-2"
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: 25 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20191,9 +20191,14 @@ public struct SpaceRoom {
2019120191
*/
2019220192
public var canonicalAlias: String?
2019320193
/**
20194-
* The name of the room, if any.
20194+
* The room's name from the room state event if received from sync, or one
20195+
* that's been computed otherwise.
2019520196
*/
20196-
public var name: String?
20197+
public var displayName: String
20198+
/**
20199+
* Room name as defined by the room state event only.
20200+
*/
20201+
public var rawName: String?
2019720202
/**
2019820203
* The topic of the room, if any.
2019920204
*/
@@ -20256,8 +20261,12 @@ public struct SpaceRoom {
2025620261
* The canonical alias of the room, if any.
2025720262
*/canonicalAlias: String?,
2025820263
/**
20259-
* The name of the room, if any.
20260-
*/name: String?,
20264+
* The room's name from the room state event if received from sync, or one
20265+
* that's been computed otherwise.
20266+
*/displayName: String,
20267+
/**
20268+
* Room name as defined by the room state event only.
20269+
*/rawName: String?,
2026120270
/**
2026220271
* The topic of the room, if any.
2026320272
*/topic: String?,
@@ -20299,7 +20308,8 @@ public struct SpaceRoom {
2029920308
*/via: [String]) {
2030020309
self.roomId = roomId
2030120310
self.canonicalAlias = canonicalAlias
20302-
self.name = name
20311+
self.displayName = displayName
20312+
self.rawName = rawName
2030320313
self.topic = topic
2030420314
self.avatarUrl = avatarUrl
2030520315
self.roomType = roomType
@@ -20325,7 +20335,10 @@ extension SpaceRoom: Equatable, Hashable {
2032520335
if lhs.canonicalAlias != rhs.canonicalAlias {
2032620336
return false
2032720337
}
20328-
if lhs.name != rhs.name {
20338+
if lhs.displayName != rhs.displayName {
20339+
return false
20340+
}
20341+
if lhs.rawName != rhs.rawName {
2032920342
return false
2033020343
}
2033120344
if lhs.topic != rhs.topic {
@@ -20370,7 +20383,8 @@ extension SpaceRoom: Equatable, Hashable {
2037020383
public func hash(into hasher: inout Hasher) {
2037120384
hasher.combine(roomId)
2037220385
hasher.combine(canonicalAlias)
20373-
hasher.combine(name)
20386+
hasher.combine(displayName)
20387+
hasher.combine(rawName)
2037420388
hasher.combine(topic)
2037520389
hasher.combine(avatarUrl)
2037620390
hasher.combine(roomType)
@@ -20393,7 +20407,8 @@ public struct FfiConverterTypeSpaceRoom: FfiConverterRustBuffer {
2039320407
try SpaceRoom(
2039420408
roomId: FfiConverterString.read(from: &buf),
2039520409
canonicalAlias: FfiConverterOptionString.read(from: &buf),
20396-
name: FfiConverterOptionString.read(from: &buf),
20410+
displayName: FfiConverterString.read(from: &buf),
20411+
rawName: FfiConverterOptionString.read(from: &buf),
2039720412
topic: FfiConverterOptionString.read(from: &buf),
2039820413
avatarUrl: FfiConverterOptionString.read(from: &buf),
2039920414
roomType: FfiConverterTypeRoomType.read(from: &buf),
@@ -20412,7 +20427,8 @@ public struct FfiConverterTypeSpaceRoom: FfiConverterRustBuffer {
2041220427
public static func write(_ value: SpaceRoom, into buf: inout [UInt8]) {
2041320428
FfiConverterString.write(value.roomId, into: &buf)
2041420429
FfiConverterOptionString.write(value.canonicalAlias, into: &buf)
20415-
FfiConverterOptionString.write(value.name, into: &buf)
20430+
FfiConverterString.write(value.displayName, into: &buf)
20431+
FfiConverterOptionString.write(value.rawName, into: &buf)
2041620432
FfiConverterOptionString.write(value.topic, into: &buf)
2041720433
FfiConverterOptionString.write(value.avatarUrl, into: &buf)
2041820434
FfiConverterTypeRoomType.write(value.roomType, into: &buf)

0 commit comments

Comments
 (0)