kernl API
    Preparing search index...

    Function withheldDomains

    • The domains an applet would hold but for messages: allowed by the person or part of the baseline, and not in force while it can read messages.

      Parameters

      • granted: readonly string[]

        The domains the person allowed.

      • baseline: readonly string[] = BASELINE_DOMAINS

        Domains every applet holds; BASELINE_DOMAINS by default.

      • kept: readonly string[] = []

        Domains the person chose to keep beside messages.

      Returns readonly string[]

      The withheld domains; empty for an applet without messages.

      withheldDomains(['dm', 'relay']); // ['inc', 'relay']
      withheldDomains(['dm', 'relay'], undefined, ['relay']); // ['inc']