Function eventIsPartOfThread

  • Checks if an event is part of a thread.

    Parameters

    • op: NDKEvent

      The original event

    • event: NDKEvent

      The event to check

    • eventsByAuthor: Map<string, NDKEvent>

      A map of all candidate events by the original author

    Returns boolean

    True if the event is part of the thread, false otherwise