diff options
author | Thomas Weißschuh <thomas_weissschuh@lavabit.com> | 2012-06-12 14:30:39 +0000 |
---|---|---|
committer | Thomas Weißschuh <thomas_weissschuh@lavabit.com> | 2012-06-12 14:30:39 +0000 |
commit | 1ebea7e0f45423695c00eebe558817d56c6b8072 (patch) | |
tree | a2f6f99173872c5d15f1ff36a39d68dc465c442e /alot/commands/thread.py | |
parent | 029fec32c2514bceabc12bbe7b5e6e62858e02b5 (diff) |
use address as fallback in reply/forward_prefix
Diffstat (limited to 'alot/commands/thread.py')
-rw-r--r-- | alot/commands/thread.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/alot/commands/thread.py b/alot/commands/thread.py index 767b5eb9..410d31e7 100644 --- a/alot/commands/thread.py +++ b/alot/commands/thread.py @@ -107,7 +107,7 @@ class ReplyCommand(Command): if qf: quotestring = qf(name, address, timestamp, ui=ui, dbm=ui.dbman) else: - quotestring = 'Quoting %s (%s)\n' % (name, timestamp) + quotestring = 'Quoting %s (%s)\n' % (name or address, timestamp) mailcontent = quotestring for line in self.message.accumulate_body().splitlines(): mailcontent += '> ' + line + '\n' @@ -212,7 +212,7 @@ class ForwardCommand(Command): if qf: quote = qf(name, address, timestamp, ui=ui, dbm=ui.dbman) else: - quote = 'Forwarded message from %s (%s):\n' % (name, timestamp) + quote = 'Forwarded message from %s (%s):\n' % (name or address, timestamp) mailcontent = quote for line in self.message.accumulate_body().splitlines(): mailcontent += '>' + line + '\n' |