Skip to content

[core] Fix NOWEB group leave webhook LID matching (#2206) - #2209

Open
poorvajasathasivam wants to merge 1 commit into
devlikeapro:corefrom
poorvajasathasivam:fix-noweb-group-v2-leave-lid
Open

[core] Fix NOWEB group leave webhook LID matching (#2206)#2209
poorvajasathasivam wants to merge 1 commit into
devlikeapro:corefrom
poorvajasathasivam:fix-noweb-group-v2-leave-lid

Conversation

@poorvajasathasivam

Copy link
Copy Markdown

Fixes NOWEB group.v2.leave not firing when Baileys reports the removed session participant by LID while the session identity is also available by phone JID.

  • Match removed participants against both me.id and me.lid
  • Consider both participant id and phoneNumber
  • Add regression coverage for LID, phone-number, and non-self removals

Fixes #2206

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NOWEB] - group leave webhooks are not being emitted ?

1 participant