Skip to content

Commit

Permalink
Merge pull request #121 from mattn/notify-delete
Browse files Browse the repository at this point in the history
kind 5 should be notified to subscribers.
  • Loading branch information
mattn authored Jul 22, 2024
2 parents 8d1bd80 + 70a1daf commit 02d23e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ func (s *Server) doEvent(ctx context.Context, ws *WebSocket, request []json.RawM
}
}
}

notifyListeners(&evt)
ws.WriteJSON(nostr.OKEnvelope{EventID: evt.ID, OK: true})
return ""
}
Expand Down

0 comments on commit 02d23e8

Please sign in to comment.