Function eventIsReply

  • Checks if an event is a reply to an original post or to a thread.

    Parameters

    • op: NDKEvent

      The original event

    • event: NDKEvent

      The event to check

    • threadIds: Set<string> = ...

      An optional map of all events in the thread

    • OptionaltagType: string

      The tag type to search for (default: "e" for non-replaceable events and "a" for replaceable events)

    Returns boolean

    True if the event is a reply, false otherwise