display signature if any
This commit is contained in:
parent
8eea2257a1
commit
f4f294502a
1 changed files with 8 additions and 0 deletions
|
|
@ -69,6 +69,14 @@ class MessageFormatter(IFormatter):
|
|||
content = item['content']
|
||||
|
||||
result += '\n%s' % content
|
||||
|
||||
if item['signature']:
|
||||
if item['flags'] & Message.IS_HTML:
|
||||
signature = html2text(item['signature'])
|
||||
else:
|
||||
signature = item['signature']
|
||||
|
||||
result += '\n-- \n%s' % item['signature']
|
||||
return result
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue