From d018803c5393e901dfeedc2d414b915cf95f72c7 Mon Sep 17 00:00:00 2001 From: yomguy Date: Wed, 18 Jul 2012 13:55:05 +0200 Subject: [PATCH] email even if user inactive --- postman/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postman/utils.py b/postman/utils.py index 2c4c6d7..9359bc5 100644 --- a/postman/utils.py +++ b/postman/utils.py @@ -91,6 +91,6 @@ def notify_user(object, action): if notification: notification.send(users=[user], label=label, extra_context={'message': object, 'action': action}) else: - if not DISABLE_USER_EMAILING and user.email and user.is_active: + if not DISABLE_USER_EMAILING and user.email: email('postman/email_user_subject.txt', 'postman/email_user.txt',[user.email], object, action) -- 2.39.5