xmpp_p2p
    Preparing search index...

    Function handleSecureMessageStanza

    • Handles inbound encrypted chat stanzas and emits decrypted chat records.

      Parameters

      • element: Element

        Incoming message stanza.

      • fromJid: string

        Sender JID.

      • toJid: string

        Local recipient JID.

      • rawCtx: XmppSecureContext

        Secure messaging execution context.

      Returns Promise<boolean>

      true when the stanza was handled by this module.