Skip to content

Commit 859a9ae

Browse files
committed
Bump to version 25.09.18 (matrix-rust-sdk/main 8ae88e1e45b5b3299315fc1bc43d96efca684fe4)
1 parent d4b8e73 commit 859a9ae

File tree

2 files changed

+22
-2
lines changed

2 files changed

+22
-2
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 = "28b96293028c2998e2ca73fb5693eb7f7d5b704bc98160591369607b10731dcb"
5-
let version = "25.09.17-2"
4+
let checksum = "d8f25c3d6105d07e4f703f233f6b6587a50fb9f07dbfddf5b60952ac6bab949f"
5+
let version = "25.09.18"
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: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19845,6 +19845,13 @@ public struct SpaceRoom {
1984519845
* Whether guest users may join the room and participate in it.
1984619846
*/
1984719847
public var guestCanJoin: Bool
19848+
/**
19849+
* Whether this room is a direct room.
19850+
*
19851+
* Only set if the room is known to the client otherwise we
19852+
* assume DMs shouldn't be exposed publicly in spaces.
19853+
*/
19854+
public var isDirect: Bool?
1984819855
/**
1984919856
* The number of children room this has, if a space.
1985019857
*/
@@ -19895,6 +19902,12 @@ public struct SpaceRoom {
1989519902
/**
1989619903
* Whether guest users may join the room and participate in it.
1989719904
*/guestCanJoin: Bool,
19905+
/**
19906+
* Whether this room is a direct room.
19907+
*
19908+
* Only set if the room is known to the client otherwise we
19909+
* assume DMs shouldn't be exposed publicly in spaces.
19910+
*/isDirect: Bool?,
1989819911
/**
1989919912
* The number of children room this has, if a space.
1990019913
*/childrenCount: UInt64,
@@ -19917,6 +19930,7 @@ public struct SpaceRoom {
1991719930
self.joinRule = joinRule
1991819931
self.worldReadable = worldReadable
1991919932
self.guestCanJoin = guestCanJoin
19933+
self.isDirect = isDirect
1992019934
self.childrenCount = childrenCount
1992119935
self.state = state
1992219936
self.heroes = heroes
@@ -19958,6 +19972,9 @@ extension SpaceRoom: Equatable, Hashable {
1995819972
if lhs.guestCanJoin != rhs.guestCanJoin {
1995919973
return false
1996019974
}
19975+
if lhs.isDirect != rhs.isDirect {
19976+
return false
19977+
}
1996119978
if lhs.childrenCount != rhs.childrenCount {
1996219979
return false
1996319980
}
@@ -19984,6 +20001,7 @@ extension SpaceRoom: Equatable, Hashable {
1998420001
hasher.combine(joinRule)
1998520002
hasher.combine(worldReadable)
1998620003
hasher.combine(guestCanJoin)
20004+
hasher.combine(isDirect)
1998720005
hasher.combine(childrenCount)
1998820006
hasher.combine(state)
1998920007
hasher.combine(heroes)
@@ -20006,6 +20024,7 @@ public struct FfiConverterTypeSpaceRoom: FfiConverterRustBuffer {
2000620024
joinRule: FfiConverterOptionTypeJoinRule.read(from: &buf),
2000720025
worldReadable: FfiConverterOptionBool.read(from: &buf),
2000820026
guestCanJoin: FfiConverterBool.read(from: &buf),
20027+
isDirect: FfiConverterOptionBool.read(from: &buf),
2000920028
childrenCount: FfiConverterUInt64.read(from: &buf),
2001020029
state: FfiConverterOptionTypeMembership.read(from: &buf),
2001120030
heroes: FfiConverterOptionSequenceTypeRoomHero.read(from: &buf),
@@ -20024,6 +20043,7 @@ public struct FfiConverterTypeSpaceRoom: FfiConverterRustBuffer {
2002420043
FfiConverterOptionTypeJoinRule.write(value.joinRule, into: &buf)
2002520044
FfiConverterOptionBool.write(value.worldReadable, into: &buf)
2002620045
FfiConverterBool.write(value.guestCanJoin, into: &buf)
20046+
FfiConverterOptionBool.write(value.isDirect, into: &buf)
2002720047
FfiConverterUInt64.write(value.childrenCount, into: &buf)
2002820048
FfiConverterOptionTypeMembership.write(value.state, into: &buf)
2002920049
FfiConverterOptionSequenceTypeRoomHero.write(value.heroes, into: &buf)

0 commit comments

Comments
 (0)