From 81e4e2b892c9c0aadbc113aa2ca53b9765be5f42 Mon Sep 17 00:00:00 2001 From: Greg Heartsfield Date: Sun, 16 Jan 2022 08:37:21 -0600 Subject: [PATCH] feat: add supported NIPs (2, 11) to relay info --- src/info.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/info.rs b/src/info.rs index 3f3e4b1..0eb032e 100644 --- a/src/info.rs +++ b/src/info.rs @@ -34,7 +34,7 @@ impl From for RelayInfo { description: i.description, pubkey: i.pubkey, contact: i.contact, - supported_nips: Some(vec![1]), + supported_nips: Some(vec![1, 2, 11]), software: Some("https://git.sr.ht/~gheartsfield/nostr-rs-relay".to_owned()), version: CARGO_PKG_VERSION.map(|x| x.to_owned()), }