@@ -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