xmpp_p2p
    Preparing search index...

    Function parseCollectionPost

    • Parses a collection post 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 XmppCollectionPost | undefined

      A normalized collection post or undefined.