sdk: do not track hints from ephemeral events.

This commit is contained in:
fiatjaf
2024-09-17 08:06:04 -03:00
parent 2c09338ecb
commit 2b04ea9bc1

View File

@ -11,6 +11,9 @@ func (sys *System) trackEventHints(ie nostr.IncomingEvent) {
if IsVirtualRelay(ie.Relay.URL) {
return
}
if ie.Kind < 30000 && ie.Kind >= 20000 {
return
}
switch ie.Kind {
case nostr.KindRelayListMetadata: