From 767b10f5e2ffcbbc2b3ecd9f12578c7c1f2a24bd Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Tue, 20 May 2025 17:14:54 +0300 Subject: [PATCH] change(ffi): remove now unused `ClientDelegate` `did_refresh_tokens` callback (dropped in favor of the `ClientSessionDelegate`) --- bindings/matrix-sdk-ffi/src/client.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/bindings/matrix-sdk-ffi/src/client.rs b/bindings/matrix-sdk-ffi/src/client.rs index b3fba3e56..4e47450ca 100644 --- a/bindings/matrix-sdk-ffi/src/client.rs +++ b/bindings/matrix-sdk-ffi/src/client.rs @@ -166,7 +166,6 @@ impl From for RumaPushFormat { #[matrix_sdk_ffi_macros::export(callback_interface)] pub trait ClientDelegate: Sync + Send { fn did_receive_auth_error(&self, is_soft_logout: bool); - fn did_refresh_tokens(&self); } #[matrix_sdk_ffi_macros::export(callback_interface)] @@ -1546,9 +1545,7 @@ impl Client { SessionChange::UnknownToken { soft_logout } => { delegate.did_receive_auth_error(soft_logout); } - SessionChange::TokensRefreshed => { - delegate.did_refresh_tokens(); - } + SessionChange::TokensRefreshed => {} }); } else { debug!(