@@ -5345,6 +5345,12 @@ public protocol RoomProtocol : AnyObject {
5345
5345
5346
5346
func resetPowerLevels() async throws -> RoomPowerLevels
5347
5347
5348
+ /**
5349
+ * Return a debug representation for the internal room events data
5350
+ * structure, one line per entry in the resulting vector.
5351
+ */
5352
+ func roomEventsDebugString() async throws -> [String]
5353
+
5348
5354
func roomInfo() async throws -> RoomInfo
5349
5355
5350
5356
/**
@@ -6455,6 +6461,27 @@ open func resetPowerLevels()async throws -> RoomPowerLevels {
6455
6461
)
6456
6462
}
6457
6463
6464
+ /**
6465
+ * Return a debug representation for the internal room events data
6466
+ * structure, one line per entry in the resulting vector.
6467
+ */
6468
+ open func roomEventsDebugString()async throws -> [String] {
6469
+ return
6470
+ try await uniffiRustCallAsync(
6471
+ rustFutureFunc: {
6472
+ uniffi_matrix_sdk_ffi_fn_method_room_room_events_debug_string(
6473
+ self.uniffiClonePointer()
6474
+
6475
+ )
6476
+ },
6477
+ pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_rust_buffer,
6478
+ completeFunc: ffi_matrix_sdk_ffi_rust_future_complete_rust_buffer,
6479
+ freeFunc: ffi_matrix_sdk_ffi_rust_future_free_rust_buffer,
6480
+ liftFunc: FfiConverterSequenceString.lift,
6481
+ errorHandler: FfiConverterTypeClientError.lift
6482
+ )
6483
+ }
6484
+
6458
6485
open func roomInfo()async throws -> RoomInfo {
6459
6486
return
6460
6487
try await uniffiRustCallAsync(
@@ -19594,6 +19621,7 @@ public enum Membership {
19594
19621
case joined
19595
19622
case left
19596
19623
case knocked
19624
+ case banned
19597
19625
}
19598
19626
19599
19627
@@ -19612,6 +19640,8 @@ public struct FfiConverterTypeMembership: FfiConverterRustBuffer {
19612
19640
19613
19641
case 4: return .knocked
19614
19642
19643
+ case 5: return .banned
19644
+
19615
19645
default: throw UniffiInternalError.unexpectedEnumCase
19616
19646
}
19617
19647
}
@@ -19635,6 +19665,10 @@ public struct FfiConverterTypeMembership: FfiConverterRustBuffer {
19635
19665
case .knocked:
19636
19666
writeInt(&buf, Int32(4))
19637
19667
19668
+
19669
+ case .banned:
19670
+ writeInt(&buf, Int32(5))
19671
+
19638
19672
}
19639
19673
}
19640
19674
}
@@ -30496,6 +30530,9 @@ private var initializationResult: InitializationResult = {
30496
30530
if (uniffi_matrix_sdk_ffi_checksum_method_room_reset_power_levels() != 63622) {
30497
30531
return InitializationResult.apiChecksumMismatch
30498
30532
}
30533
+ if (uniffi_matrix_sdk_ffi_checksum_method_room_room_events_debug_string() != 37832) {
30534
+ return InitializationResult.apiChecksumMismatch
30535
+ }
30499
30536
if (uniffi_matrix_sdk_ffi_checksum_method_room_room_info() != 41146) {
30500
30537
return InitializationResult.apiChecksumMismatch
30501
30538
}
0 commit comments