commit 81e4e2b892c9c0aadbc113aa2ca53b9765be5f42
parent 6f166433b590be44e089790095b3fb145bab2dea
Author: Greg Heartsfield <scsibug@imap.cc>
Date: Sun, 16 Jan 2022 08:37:21 -0600
feat: add supported NIPs (2, 11) to relay info
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/info.rs b/src/info.rs
@@ -34,7 +34,7 @@ impl From<config::Info> 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()),
}