Merge pull request #529 from frappe/develop

This commit is contained in:
Shariq Ansari 2025-01-11 12:47:07 +05:30 committed by GitHub
commit ad9a2eb6c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,7 @@ def is_whatsapp_installed():
def get_whatsapp_messages(reference_doctype, reference_name):
# twilio integration app is not compatible with crm app
# crm has its own twilio integration in built
if "twilio-integration" in frappe.get_installed_apps():
if "twilio_integration" in frappe.get_installed_apps():
return []
if not frappe.db.exists("DocType", "WhatsApp Message"):
return []