@japofc/baileys - v2.4.7
    Preparing search index...

    Function dedupeJidsByUser

    • Collapse jids that resolve to the same user, keeping the first occurrence and preserving order. Used before the USync device fan-out so a user listed twice is not enumerated twice (BUGREPORT §2.46).

      Type Parameters

      • T extends { jid: string; user?: string }

      Parameters

      • entries: T[] | null | undefined

      Returns T[]