Closed olalonde closed 1 year ago
mine works;
P.S: "Oops!, @ Ali Azhar | Me has left this group recently !" the translate
@aliazhar-id You used an "invite link" which is not affected by this limitation. See https://faq.whatsapp.com/420332980275753
Ah, did you mean that your call to socket.groupParticipantsUpdate
is throwing an error?
Ah I see, it returns a result object instead of throwing. https://github.com/WhiskeySockets/Baileys/blob/cd8542ff7c072b5e58d2d3de2396983a5304e5e1/src/Socket/groups.ts#L195
@aliazhar-id You used an "invite link" which is not affected by this limitation. See https://faq.whatsapp.com/420332980275753
Ahh, I shouldn't have capture that last one.
when using a bot it cannot be added and returns an error. "left recently" the last one I joined manually using the invite link
Ah, did you mean that your call to
socket.groupParticipantsUpdate
is throwing an error?
yes
Describe the bug When you try to add a participant to a group that the participant has left recently, it's not possible to add back the participant.
When this happens, the call to
socket.groupParticipantsUpdate
appears to succeed when it does not. It would be better if an error was thrown.To Reproduce Steps to reproduce the behavior:
Expected behavior An error should be thrown.