summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--askbot/mail/__init__.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/askbot/mail/__init__.py b/askbot/mail/__init__.py
index 37d10f8b..a2f53017 100644
--- a/askbot/mail/__init__.py
+++ b/askbot/mail/__init__.py
@@ -390,7 +390,10 @@ def process_emailed_question(
#note that signature '' means it is unset and 'empty signature' is a sentinel
#because there is no other way to indicate unset signature without adding
#another field to the user model
- signature_changed = (stripped_body_text == body_text and user.email_signature)
+ signature_changed = (
+ stripped_body_text == body_text and
+ user.email_signature != 'empty signature'
+ )
need_new_signature = (
user.email_isvalid is False or