xmpp_p2p
    Preparing search index...

    Function formatPresence

    • Formats a presence record into the compact CLI display string.

      Parameters

      • Optionalpresence: { nickname?: string; show?: string; status?: string; type: string }

        Presence state and optional metadata.

      Returns string

      A human-readable summary or an empty string when absent.