diff options
Diffstat (limited to 'alot/commands')
-rw-r--r-- | alot/commands/globals.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/alot/commands/globals.py b/alot/commands/globals.py index 3f57faa4..5ff72c7f 100644 --- a/alot/commands/globals.py +++ b/alot/commands/globals.py @@ -668,12 +668,7 @@ class ComposeCommand(Command): if fromaddress is None: ui.notify('canceled') return - a = settings.get_account_by_address(fromaddress) - if a is not None: - fromstring = "%s <%s>" % (a.realname, a.address) - self.envelope.add('From', fromstring) - else: - self.envelope.add('From', fromaddress) + self.envelope.add('From', fromaddress) # add signature if not self.omit_signature: |