khatru: ForceBroadcastEvent()

This commit is contained in:
fiatjaf
2025-10-31 13:05:19 -03:00
parent 13c44a4644
commit 32bbff615a
3 changed files with 9 additions and 4 deletions

View File

@@ -223,7 +223,7 @@ func (rl *Relay) HandleWebsocket(w http.ResponseWriter, r *http.Request) {
if writeErr == nil {
ok = true
if !skipBroadcast {
n := srl.notifyListeners(env.Event)
n := srl.notifyListeners(env.Event, false)
// the number of notified listeners matters in ephemeral events
if env.Event.Kind.IsEphemeral() {