stop sending npubs to relays and use hints when fetching notes.

This commit is contained in:
fiatjaf
2023-07-08 20:08:51 -03:00
parent 9f2272072e
commit 3531ecc4ca
3 changed files with 16 additions and 11 deletions

View File

@@ -181,7 +181,7 @@ func getPreviewStyle(r *http.Request) string {
}
}
func findParentNevent(event *nostr.Event) string {
func getParentNevent(event *nostr.Event) string {
parentNevent := ""
replyTag := nip10.GetImmediateReply(event.Tags)
if replyTag != nil {