WhiskeySockets / Baileys

Lightweight full-featured typescript/javascript WhatsApp Web API
https://baileys.whiskeysockets.io/
MIT License
4.08k stars 1.38k forks source link

feat: remove label feature #1090

Open jianhuihi opened 1 month ago

jianhuihi commented 1 month ago

Changes

Motivation

As per the discussion in issue #1069, the label feature is no longer needed. Removing it helps in reducing code complexity and improving maintainability.

Testing

Related Issues

Fixes #1069

whiskeysockets-bot commented 1 month ago

Thanks for your contribution.

The next step is to wait for review and approval to merge it to main repository

The community can help reacting with a thumb up (:thumbsup:) for approval and rocket (:rocket:) for who has tested it.

To test this PR you can run the following command below:

# NPM
npm install @whiskeysockets/baileys@jianhuihi/Baileys#removelabel
# YARN v2
yarn add @whiskeysockets/baileys@jianhuihi/Baileys#removelabel
ImPedro29 commented 1 week ago

Functions to add and remove are not working to me

jianhuihi commented 2 days ago

Functions to add and remove are not working to me

Are you using the WA Business version?

ImPedro29 commented 2 days ago

Are you using the WA Business version?

Yeah. I found the bug. If I connect baileys as a second device, events of labels are miss identified. Im receiving 5~6 events of chat label removal, but in reality im adding a tag. When baileys was the first device connected it works well.