Files
nostrlib/khatru/broadcasting.go
2025-04-15 08:51:25 -03:00

12 lines
328 B
Go

package khatru
import (
"fiatjaf.com/nostr"
)
// BroadcastEvent emits an event to all listeners whose filters' match, skipping all filters and actions
// it also doesn't attempt to store the event or trigger any reactions or callbacks
func (rl *Relay) BroadcastEvent(evt *nostr.Event) int {
return rl.notifyListeners(evt)
}