mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-19 06:04:31 -04:00
change(ffi): remove now unused ClientDelegate did_refresh_tokens callback (dropped in favor of the ClientSessionDelegate)
This commit is contained in:
committed by
Stefan Ceriu
parent
4e2b5562f1
commit
767b10f5e2
@@ -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!(
|
||||
|
||||
Reference in New Issue
Block a user