Skip to content

Commit 857cf6f

Browse files
committed
change(ffi): remove now unused ClientDelegate did_refresh_tokens callback (dropped in favor of the ClientSessionDelegate)
1 parent d21c314 commit 857cf6f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

bindings/matrix-sdk-ffi/src/client.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,6 @@ impl From<PushFormat> for RumaPushFormat {
166166
#[matrix_sdk_ffi_macros::export(callback_interface)]
167167
pub trait ClientDelegate: Sync + Send {
168168
fn did_receive_auth_error(&self, is_soft_logout: bool);
169-
fn did_refresh_tokens(&self);
170169
}
171170

172171
#[matrix_sdk_ffi_macros::export(callback_interface)]
@@ -1492,9 +1491,7 @@ impl Client {
14921491
SessionChange::UnknownToken { soft_logout } => {
14931492
delegate.did_receive_auth_error(soft_logout);
14941493
}
1495-
SessionChange::TokensRefreshed => {
1496-
delegate.did_refresh_tokens();
1497-
}
1494+
SessionChange::TokensRefreshed => {}
14981495
});
14991496
} else {
15001497
debug!(

0 commit comments

Comments
 (0)