summaryrefslogtreecommitdiffstats
path: root/askbot/tasks.py
diff options
context:
space:
mode:
authorEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-05-28 08:03:21 -0400
committerEvgeny Fadeev <evgeny.fadeev@gmail.com>2012-05-28 08:03:21 -0400
commit78ba55f5f46705054c6b2b11a9939b89bb807684 (patch)
tree4946a87bdb0785e12d596c0b1dc6468aff8695bf /askbot/tasks.py
parent1815e7a2f5b01652a19caeddd2ab0cfb63fe9139 (diff)
downloadaskbot-78ba55f5f46705054c6b2b11a9939b89bb807684.tar.gz
askbot-78ba55f5f46705054c6b2b11a9939b89bb807684.tar.bz2
askbot-78ba55f5f46705054c6b2b11a9939b89bb807684.zip
more bug fixes in the "ask/answer/comment/edit" by email
Diffstat (limited to 'askbot/tasks.py')
-rw-r--r--askbot/tasks.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/askbot/tasks.py b/askbot/tasks.py
index 71719ef3..f12290aa 100644
--- a/askbot/tasks.py
+++ b/askbot/tasks.py
@@ -37,6 +37,7 @@ from askbot.models.badges import award_badges_signal
@task(ignore_result = True)
def notify_author_of_published_revision_celery_task(revision):
+ #todo: move this to ``askbot.mail`` module
#for answerable email only for now, because
#we don't yet have the template for the read-only notification
if askbot_settings.REPLY_BY_EMAIL:
@@ -68,6 +69,7 @@ def notify_author_of_published_revision_celery_task(revision):
data = {
'site_name': askbot_settings.APP_SHORT_NAME,
'post': revision.post,
+ 'author_email_signature': revision.author.email_signature,
'replace_content_address': replace_content_address,
'reply_separator_line': reply_separator_line,
'mailto_link_subject': mailto_link_subject,