xmpp_p2p
    Preparing search index...

    Function buildXepElements

    • Builds XEP extension child elements for an outgoing stanza.

      Parameters

      • options: {
            chatState?: "paused" | "active" | "composing" | "inactive" | "gone";
            delay?: { from?: string; stamp: string };
            nick?: string;
            originId?: string;
            private?: boolean;
            replace?: string;
            reply?: { id: string; to?: string };
            requestReceipt?: boolean;
            stanzaId?: { by: string; id: string };
            thread?: string;
        }

        Optional protocol decorations to attach to the stanza.

      Returns Element[]

      A list of XML elements to append to a message stanza.