From 6a52596e2f66a41bb30f542dc76a7296cceeef47 Mon Sep 17 00:00:00 2001 From: Yuki Kishimoto Date: Thu, 12 Oct 2023 16:21:44 +0200 Subject: [PATCH] ffi: remove `clear_already_seen_events` method --- bindings/nostr-sdk-ffi/src/client/mod.rs | 4 ---- bindings/nostr-sdk-ffi/src/nostr_sdk.udl | 1 - 2 files changed, 5 deletions(-) diff --git a/bindings/nostr-sdk-ffi/src/client/mod.rs b/bindings/nostr-sdk-ffi/src/client/mod.rs index 5ad58fb6e..3beeb4d5f 100644 --- a/bindings/nostr-sdk-ffi/src/client/mod.rs +++ b/bindings/nostr-sdk-ffi/src/client/mod.rs @@ -72,10 +72,6 @@ impl Client { Ok(self.inner.clone().shutdown()?) } - pub fn clear_already_seen_events(&self) { - self.inner.clear_already_seen_events() - } - pub fn relays(&self) -> HashMap> { self.inner .relays() diff --git a/bindings/nostr-sdk-ffi/src/nostr_sdk.udl b/bindings/nostr-sdk-ffi/src/nostr_sdk.udl index 369dc658d..526ee89c3 100644 --- a/bindings/nostr-sdk-ffi/src/nostr_sdk.udl +++ b/bindings/nostr-sdk-ffi/src/nostr_sdk.udl @@ -618,7 +618,6 @@ interface Client { boolean is_running(); [Throws=NostrSdkError] void shutdown(); - void clear_already_seen_events(); record relays(); [Throws=NostrSdkError]