summaryrefslogtreecommitdiff
path: root/alot/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'alot/command.py')
-rw-r--r--alot/command.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/alot/command.py b/alot/command.py
index 3f7578a6..28667770 100644
--- a/alot/command.py
+++ b/alot/command.py
@@ -380,7 +380,8 @@ class ComposeCommand(Command):
#get To header
if 'To' not in self.mail:
- to = ui.prompt(prefix='To>', completer=ContactsCompleter())
+ to = ui.prompt(prefix='To>',
+ completer=ContactsCompleter(ui.accountman))
self.mail['To'] = encode_header('to', to)
if settings.config.getboolean('general', 'ask_subject') and \
not 'Subject' in self.mail: