add banner to nip-11.

This commit is contained in:
Kay 2025-02-09 19:33:13 +00:00 committed by fiatjaf_
parent a8d6e1f37f
commit 7189cd7e02

View File

@ -24,6 +24,7 @@ type RelayInformationDocument struct {
Fees *RelayFeesDocument `json:"fees,omitempty"`
Retention []*RelayRetentionDocument `json:"retention,omitempty"`
Icon string `json:"icon"`
Banner string `json:"banner"`
}
func (info *RelayInformationDocument) AddSupportedNIP(number int) {