mirror of
https://github.com/studiokaiji/nostr-webhost.git
synced 2026-02-18 13:34:53 +01:00
replaceable eventの場合はneventを表示しない
This commit is contained in:
@@ -58,13 +58,10 @@ func main() {
|
||||
fmt.Println("index.html:")
|
||||
fmt.Println(" - event.id:", id)
|
||||
|
||||
label := " - "
|
||||
if replaceable {
|
||||
label += "naddr"
|
||||
} else {
|
||||
label += "nevent"
|
||||
if !replaceable {
|
||||
label := " - nevent"
|
||||
fmt.Printf("%s: %s\n", label, encoded)
|
||||
}
|
||||
fmt.Printf("%s: %s\n", label, encoded)
|
||||
}
|
||||
return err
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user