Merge pull request #286 from Focuslinkstech/Development

fix WhatsApp welcome message not sending
This commit is contained in:
iBNu Maksum 2024-09-01 12:01:31 +07:00 committed by GitHub
commit cc6babf04a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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]
],