fix WhatsApp welcome message not sending

This commit is contained in:
Focuslinkstech
2024-08-31 12:37:20 +01:00
committed by GitHub
parent e1008ae61f
commit 9e7698f83d

View File

@ -455,7 +455,7 @@ switch ($action) {
'args' => [$d['phonenumber'], $welcomeMessage]
],
'whatsapp' => [
'enabled' => isset($_POST['wa']) && $_POST['wa'] == 'wa',
'enabled' => isset($_POST['wa']),
'method' => 'sendWhatsapp',
'args' => [$d['phonenumber'], $welcomeMessage]
],