feat: add supported NIPs (2, 11) to relay info

This commit is contained in:
Greg Heartsfield 2022-01-16 08:37:21 -06:00
parent 6f166433b5
commit 81e4e2b892

View File

@ -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()),
}