Skip to content

LID tagging fix — ensure phone numbers are used for @mentions #47

@SilvaTechB

Description

@SilvaTechB

Description

When WhatsApp linked devices use LID JIDs (@lid suffix), mentions/tags display LID numbers instead of phone numbers. The resolveLid() helper and resolvedFrom context field have been added to handler.js and leveling.js.

Tasks

  • Add resolvedFrom, senderNum, resolveLid() to handler.js context
  • Fix level-up announcements in handler.js
  • Update leveling.js to use LID-safe helpers
  • Audit remaining plugins for sender.split('@')[0] patterns
  • Add LID resolution to welcome/goodbye messages

Impact

Affects all users on linked devices in groups.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Projects

    Status

    In Progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions