@@ -454,7 +454,7 @@ public func FfiConverterTypeAccountBookmarksClient_lower(_ value: AccountBookmar
454454}
455455
456456public protocol ClientProtocol {
457- func connect( password: String ) async throws
457+ func connect( password: String , availability : Availability , status : String ? ) async throws
458458 func deleteProfile( ) async throws
459459 func disconnect( ) async throws
460460 func jid( ) -> FullJid
@@ -503,11 +503,13 @@ public class Client: ClientProtocol {
503503 try ! rustCall { ffi_prose_core_ffi_d633_Client_object_free ( pointer, $0) }
504504 }
505505
506- public func connect( password: String ) async throws {
506+ public func connect( password: String , availability : Availability , status : String ? ) async throws {
507507 let future = try
508508 rustCallWithError ( FfiConverterTypeConnectionError . self) {
509- _uniffi_prose_core_ffi_impl_Client_connect_5f8b ( self . pointer,
510- FfiConverterString . lower ( password) , $0)
509+ _uniffi_prose_core_ffi_impl_Client_connect_654e ( self . pointer,
510+ FfiConverterString . lower ( password) ,
511+ FfiConverterTypeAvailability . lower ( availability) ,
512+ FfiConverterOptionString . lower ( status) , $0)
511513 }
512514
513515 return try await withCheckedThrowingContinuation { continuation in
@@ -822,7 +824,7 @@ private class _UniFFI_Client_Connect_Env {
822824
823825 deinit {
824826 try ! rustCall {
825- _uniffi_prose_core_ffi_impl_Client_connect_5f8b_drop ( self . rustFuture, $0)
827+ _uniffi_prose_core_ffi_impl_Client_connect_654e_drop ( self . rustFuture, $0)
826828 }
827829 }
828830}
@@ -834,7 +836,7 @@ private func _UniFFI_Client_Connect_waker(raw_env: UnsafeMutableRawPointer?) {
834836 let polledResult = UnsafeMutableRawPointer . allocate ( byteCount: 0 , alignment: 0 )
835837 do {
836838 let isReady = try rustCallWithError ( FfiConverterTypeConnectionError . self) {
837- _uniffi_prose_core_ffi_impl_Client_connect_5f8b_poll (
839+ _uniffi_prose_core_ffi_impl_Client_connect_654e_poll (
838840 env_ref. rustFuture,
839841 _UniFFI_Client_Connect_waker,
840842 env. toOpaque ( ) ,
0 commit comments