@@ -5852,6 +5852,11 @@ public protocol RoomProtocol : AnyObject {
5852
5852
5853
5853
func invitedMembersCount() -> UInt64
5854
5854
5855
+ /**
5856
+ * Get the user who created the invite, if any.
5857
+ */
5858
+ func inviter() async throws -> RoomMember?
5859
+
5855
5860
func isDirect() async -> Bool
5856
5861
5857
5862
func isPublic() -> Bool
@@ -6769,6 +6774,26 @@ open func invitedMembersCount() -> UInt64 {
6769
6774
})
6770
6775
}
6771
6776
6777
+ /**
6778
+ * Get the user who created the invite, if any.
6779
+ */
6780
+ open func inviter()async throws -> RoomMember? {
6781
+ return
6782
+ try await uniffiRustCallAsync(
6783
+ rustFutureFunc: {
6784
+ uniffi_matrix_sdk_ffi_fn_method_room_inviter(
6785
+ self.uniffiClonePointer()
6786
+
6787
+ )
6788
+ },
6789
+ pollFunc: ffi_matrix_sdk_ffi_rust_future_poll_rust_buffer,
6790
+ completeFunc: ffi_matrix_sdk_ffi_rust_future_complete_rust_buffer,
6791
+ freeFunc: ffi_matrix_sdk_ffi_rust_future_free_rust_buffer,
6792
+ liftFunc: FfiConverterOptionTypeRoomMember.lift,
6793
+ errorHandler: FfiConverterTypeClientError.lift
6794
+ )
6795
+ }
6796
+
6772
6797
open func isDirect()async -> Bool {
6773
6798
return
6774
6799
try! await uniffiRustCallAsync(
@@ -37117,6 +37142,9 @@ private var initializationResult: InitializationResult = {
37117
37142
if (uniffi_matrix_sdk_ffi_checksum_method_room_invited_members_count() != 1023) {
37118
37143
return InitializationResult.apiChecksumMismatch
37119
37144
}
37145
+ if (uniffi_matrix_sdk_ffi_checksum_method_room_inviter() != 18103) {
37146
+ return InitializationResult.apiChecksumMismatch
37147
+ }
37120
37148
if (uniffi_matrix_sdk_ffi_checksum_method_room_is_direct() != 10462) {
37121
37149
return InitializationResult.apiChecksumMismatch
37122
37150
}
0 commit comments