mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-09-01 18:28:57 +02:00
sdk: do not track hints from ephemeral events.
This commit is contained in:
@@ -11,6 +11,9 @@ func (sys *System) trackEventHints(ie nostr.IncomingEvent) {
|
|||||||
if IsVirtualRelay(ie.Relay.URL) {
|
if IsVirtualRelay(ie.Relay.URL) {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
if ie.Kind < 30000 && ie.Kind >= 20000 {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
switch ie.Kind {
|
switch ie.Kind {
|
||||||
case nostr.KindRelayListMetadata:
|
case nostr.KindRelayListMetadata:
|
||||||
|
Reference in New Issue
Block a user