-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: Block messages from unknown numbers #1071
base: master
Are you sure you want to change the base?
Conversation
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:
|
I performed tests on the common WhatsApp that this privacy function has not yet been released, it allowed the change but I can no longer enter these numbers either on WhatsApp Web or Desktop. When testing with WhatsApp Beta that has this privacy works perfectly. The message is like a warning signal about the update. Performed tests on 5 devices with common WhatsApp (3 normal and 2 Business), and one device with WhatsApp Business Beta. Realizei testes no WhatsApp comum que ainda não está liberado essa função de privacidade, ele permitiu a alteração porém não consigo mais entrar com esses números nem no WhatsApp Web e nem Desktop. Ao testar com WhatsApp Beta que tem essa privacidade funciona perfeitamente. A mensagem é como sinal de alerta sobre a atualização. Realizado testes em 5 aparelhos com WhatsApp comum (3 normal e 2 Business), e um aparelho com o WhatsApp Business Beta. |
@bobslavtriev where has this feature rolled out |
Usage:
updateMessagesPrivacy(value)
type value -> 'all' or 'contacts'
** The function will work for Baileys, only if it is available on your WhatsApp application **