From d7cd45432b5773717cb416fab2e8207b569e6de5 Mon Sep 17 00:00:00 2001 From: Evgeny Fadeev Date: Tue, 29 May 2012 03:53:19 -0400 Subject: omitted editing title from "append" content type emails on questions --- askbot/mail/lamson_handlers.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/askbot/mail/lamson_handlers.py b/askbot/mail/lamson_handlers.py index d803dcf2..7ecdb0a9 100644 --- a/askbot/mail/lamson_handlers.py +++ b/askbot/mail/lamson_handlers.py @@ -290,8 +290,10 @@ def PROCESS( #4) actually make an edit in the forum robj = reply_address_object add_post_actions = ('post_comment', 'post_answer', 'auto_answer_or_comment') - if robj.reply_action in ('replace_content', 'append_content'): + if robj.reply_action == 'replace_content': robj.edit_post(body_text, title = subject_line) + elif robj.reply_action == 'append_content': + robj.edit_post(body_text)#in this case we don't touch the title elif robj.reply_action in add_post_actions: if robj.was_used: robj.edit_post(body_text, reply_action = 'append_content') -- cgit v1.2.3-1-g7c22