change(ffi): remove now unused ClientDelegate did_refresh_tokens callback (dropped in favor of the ClientSessionDelegate)

This commit is contained in:
Stefan Ceriu
2025-05-20 17:14:54 +03:00
committed by Stefan Ceriu
parent 4e2b5562f1
commit 767b10f5e2

View File

@@ -166,7 +166,6 @@ impl From<PushFormat> 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!(