kernl API
    Preparing search index...

    Function locateSendRecipients

    • Read the recipients of a send before kehto's service sees them.

      Under the firewall kehto has every recipient approved before a message is sent, and takes them as hex keys only, so an npub or nprofile would be refused before locateRecipients could read it. This reads them first; every other request passes straight through.

      Parameters

      • service: DmService

        kehto's dm service.

      • people: Pick<People, "locate">

        The shell's finder.

      Returns DmService

      The service, with a send's recipients read on the way in.

      registry.dm = locateSendRecipients(createDmService({ adapter }), kernl.people);