From 67e16a58a61a8942cd1eec264f7a07146008d350 Mon Sep 17 00:00:00 2001 From: Faris Ansari Date: Wed, 16 Aug 2017 14:12:48 +0530 Subject: [PATCH] [fix] unsubscribe link shouldn't append always (#3932) --- frappe/email/queue.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/email/queue.py b/frappe/email/queue.py index e3e2267f6e..233f7a89a4 100755 --- a/frappe/email/queue.py +++ b/frappe/email/queue.py @@ -95,7 +95,7 @@ def send(recipients=None, sender=None, subject=None, message=None, text_content= and add_unsubscribe_link==1) unsubscribe_link = None - if should_append_unsubscribe or True: + if should_append_unsubscribe: unsubscribe_link = get_unsubscribe_message(unsubscribe_message, expose_recipients) email_text_context += unsubscribe_link.text