summaryrefslogtreecommitdiff
path: root/alot
diff options
context:
space:
mode:
authorLucas Hoffmann <l-m-h@web.de>2017-07-06 22:35:59 +0200
committerLucas Hoffmann <l-m-h@web.de>2017-07-11 20:58:34 +0200
commit7747867e867dca54f67925bb7f083b93014d308e (patch)
tree01d013d75cb52422677e971123be0cc071cf752a /alot
parent3ff1c96634cea36be70ededc295607b8935cf38c (diff)
Also save envelope tags with :save
Diffstat (limited to 'alot')
-rw-r--r--alot/commands/envelope.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/alot/commands/envelope.py b/alot/commands/envelope.py
index 481af1f3..a2945fbe 100644
--- a/alot/commands/envelope.py
+++ b/alot/commands/envelope.py
@@ -141,7 +141,7 @@ class SaveCommand(Command):
ui.notify(msg + ' to %s' % path)
logging.debug('adding new mail to index')
try:
- ui.dbman.add_message(path, account.draft_tags)
+ ui.dbman.add_message(path, account.draft_tags + envelope.tags)
ui.apply_command(globals.FlushCommand())
ui.apply_command(commands.globals.BufferCloseCommand())
except DatabaseError as e: