kernl API
    Preparing search index...

    Function locateRecipients

    • Let an applet name the people it writes to in any form of their identity.

      Every recipient of a send is read with people.locate, so hex, npub and nprofile all work and the servers an nprofile names are asked for the person's inboxes before the message is sealed. The backends still see hex.

      Parameters

      • adapter: DmAdapter

        The messaging adapter to wrap.

      • people: Pick<People, "locate">

        The shell's finder.

      Returns DmAdapter

      The adapter, with recipients read on the way in.

      invalid:recipient from send when a recipient is not an identity.

      createDmService({ adapter: locateRecipients(messaging.composite(), kernl.people) });