Merge branch 'feat/whatsapp-call-meta-bridge' into feat/whatsapp-call-ui

This commit is contained in:
Tanmay Deep Sharma
2026-05-05 18:01:25 +07:00
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -46,7 +46,8 @@ class Channel::Whatsapp < ApplicationRecord
def voice_enabled?
provider == 'whatsapp_cloud' &&
provider_config['source'] == 'embedded_signup' &&
provider_config['calling_enabled'].present?
provider_config['calling_enabled'].present? &&
account.feature_enabled?('channel_voice')
end
def provider_service
+1 -1
View File
@@ -86,7 +86,7 @@ class Whatsapp::FacebookApiClient
body: {
override_callback_uri: callback_url,
verify_token: verify_token,
subscribed_fields: %w[messages smb_message_echoes]
subscribed_fields: %w[messages smb_message_echoes calls]
}.to_json
)