WhiskeySockets / Baileys

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

[BUG] Cannot add a label on chat #1131

Open ImPedro29 opened 1 week ago

ImPedro29 commented 1 week ago

Describe the bug Func addChatLabel is not working, if call it, this one not return error and not set label on my whatsapp.

To Reproduce Steps to reproduce the behavior:

  1. Created a new connection
  2. Wait to sync
  3. Add more than 20 labels on app
  4. Call sock.addChatLabel("jid", "1") (my number jid and labelid)

Expected behavior I expects it to add label and see it on my other devices

Environment (please complete the following information):

Additional context I've tried using evolution api to add a label on a chat but it not worked. Now I trying to do directly on baileys but I with same result, it just doesn't put label.

Edit: It worked after I removed all labels and added new. But stoped to work now, is inconsistent