feat: add simple workspace
This commit is contained in:
@@ -88,6 +88,11 @@ impl NostrRegistry {
|
||||
}
|
||||
}
|
||||
|
||||
/// Get the nostr client instance
|
||||
pub fn client(&self) -> Client {
|
||||
self.client.clone()
|
||||
}
|
||||
|
||||
/// Establish connection to the bootstrap relays
|
||||
async fn connect(client: &Client) {
|
||||
// Get all bootstrapping relays
|
||||
@@ -103,9 +108,4 @@ impl NostrRegistry {
|
||||
// Connect to all added relays
|
||||
client.connect().await;
|
||||
}
|
||||
|
||||
/// Get the nostr client instance
|
||||
pub fn client(&self) -> Client {
|
||||
self.client.clone()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user