diff options
author | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-24 00:22:41 -0400 |
---|---|---|
committer | Evgeny Fadeev <evgeny.fadeev@gmail.com> | 2013-04-24 00:22:41 -0400 |
commit | aa678c13b753ab37e08c0171bef1953119b9c2a3 (patch) | |
tree | 963423734eb6e381f36e48152022b8b8382db1f7 | |
parent | 9097998565c8c6983b023fcf08b8b871d6d26d5a (diff) | |
download | askbot-aa678c13b753ab37e08c0171bef1953119b9c2a3.tar.gz askbot-aa678c13b753ab37e08c0171bef1953119b9c2a3.tar.bz2 askbot-aa678c13b753ab37e08c0171bef1953119b9c2a3.zip |
hopefully fixed a bug in processing of incoming email
-rw-r--r-- | askbot/mail/__init__.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/askbot/mail/__init__.py b/askbot/mail/__init__.py index e5f97deb..74c2acbd 100644 --- a/askbot/mail/__init__.py +++ b/askbot/mail/__init__.py @@ -342,10 +342,11 @@ def process_parts(parts, reply_code=None): #if the response separator is present - #split the body with it, and discard the "so and so wrote:" part if reply_code: + #todo: maybe move this part out signature = extract_user_signature(body_markdown, reply_code) + body_markdown = extract_reply(body_markdown) else: signature = None - body_markdown = extract_reply(body_markdown) body_markdown += attachments_markdown return body_markdown.strip(), stored_files, signature |