summaryrefslogtreecommitdiff
path: root/alot/command.py
diff options
context:
space:
mode:
authorPatrick Totzke <patricktotzke@gmail.com>2011-08-20 15:57:41 +0100
committerPatrick Totzke <patricktotzke@gmail.com>2011-08-20 15:57:41 +0100
commit7e17485e77441d0d9c27f77ff7d06c91c6e80a67 (patch)
tree5f35b39917f979cf72d7ef5f124b89bcb0b300f7 /alot/command.py
parenta765b56bec47c5f1075efea3c4591ec48d35024b (diff)
first attempt to contactscompleter
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: