feat(NIP-15): Implement NIP15

NIP15 sends an EOSE notice to clients after all stored events are sent
to allow loading indicators and other use cases.
This commit is contained in:
Semisol
2022-05-31 01:02:59 +03:00
committed by Greg Heartsfield
parent 538d139ebf
commit a36ad378f6
3 changed files with 16 additions and 5 deletions

View File

@@ -35,7 +35,7 @@ impl From<config::Info> for RelayInfo {
description: i.description,
pubkey: i.pubkey,
contact: i.contact,
supported_nips: Some(vec![1, 2, 11]),
supported_nips: Some(vec![1, 2, 11, 15]),
software: Some("https://git.sr.ht/~gheartsfield/nostr-rs-relay".to_owned()),
version: CARGO_PKG_VERSION.map(|x| x.to_owned()),
}