mirror of
https://github.com/nbd-wtf/go-nostr.git
synced 2025-07-01 19:11:05 +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) {
|
||||
return
|
||||
}
|
||||
if ie.Kind < 30000 && ie.Kind >= 20000 {
|
||||
return
|
||||
}
|
||||
|
||||
switch ie.Kind {
|
||||
case nostr.KindRelayListMetadata:
|
||||
|
Reference in New Issue
Block a user