xmpp_p2p
    Preparing search index...

    Function parseAttachment

    • Parses noticed/reaction attachment records from a PubSub item element.

      Parameters

      • topic: string

        PubSub topic that carried the item.

      • itemEl: Element

        Item element to parse.

      • from: string

        Sender JID or peer reference.

      Returns XmppAttachment | undefined

      A normalized attachment record or undefined.