From c0050dda7144449c9d03947849aa9a158d7c4f3c Mon Sep 17 00:00:00 2001 From: Shariq Ansari <30859809+shariquerik@users.noreply.github.com> Date: Wed, 3 Sep 2025 12:06:08 +0530 Subject: [PATCH] chore: removed comment (cherry picked from commit 7fda0db51b75f3d4b2b79db47640bb8fdfac26df) --- crm/api/whatsapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm/api/whatsapp.py b/crm/api/whatsapp.py index 5aab6616..af360a07 100644 --- a/crm/api/whatsapp.py +++ b/crm/api/whatsapp.py @@ -10,7 +10,7 @@ from crm.fcrm.doctype.crm_notification.crm_notification import notify_user def validate(doc, method): if doc.type == "Incoming" and doc.get("from"): name, doctype = get_lead_or_deal_from_number(doc.get("from")) - if name != None: # only assignes a doctype and name if matching number is found, else does not obstruct creation of new message in whatsapp message doctype (frappe_whatsapp app) which is required for other chat applications + if name != None: doc.reference_doctype = doctype doc.reference_name = name