feat(event): adding more helpers.

This commit is contained in:
kehiy
2024-09-19 14:12:41 +03:30
committed by fiatjaf_
parent c8c295f839
commit 47243fdcc4
4 changed files with 25 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ func (sys *System) trackEventHints(ie nostr.IncomingEvent) {
sys.Hints.Save(ie.PubKey, tag[1], hints.LastInRelayList, ie.CreatedAt)
}
}
case nostr.KindContactList:
case nostr.KindFollowList:
sys.Hints.Save(ie.PubKey, ie.Relay.URL, hints.MostRecentEventFetched, ie.CreatedAt)
for _, tag := range ie.Tags {