show sent mails in inbox

This commit is contained in:
Felix Van der Jeugt 2017-05-09 08:53:03 +02:00
parent 69f9fdcfb8
commit 4bf0b73da6
No known key found for this signature in database
GPG Key ID: 58B209295023754D
2 changed files with 2 additions and 7 deletions

View File

@ -11,7 +11,7 @@ periodic_hook_frequency = 60
sendmail_command = /usr/bin/msmtp --account=gmail -t sendmail_command = /usr/bin/msmtp --account=gmail -t
sent_box = maildir:///data/mail/gmail/Sent sent_box = maildir:///data/mail/gmail/Sent
draft_box = maildir:///data/mail/gmail/Sent draft_box = maildir:///data/mail/gmail/Sent
sent_tags = sent, gmail sent_tags = inbox, gmail
sign_by_default = True sign_by_default = True
[[ugent]] [[ugent]]
@ -22,7 +22,7 @@ periodic_hook_frequency = 60
sendmail_command = /usr/bin/msmtp --account=ugent -t sendmail_command = /usr/bin/msmtp --account=ugent -t
sent_box = maildir:///data/mail/ugent/Sent sent_box = maildir:///data/mail/ugent/Sent
draft_box = maildir:///data/mail/ugent/Sent draft_box = maildir:///data/mail/ugent/Sent
sent_tags = sent, ugent sent_tags = inbox, ugent
sign_by_default = True sign_by_default = True
[bindings] [bindings]

View File

@ -1,6 +1,5 @@
from alot.commands.globals import ExternalCommand from alot.commands.globals import ExternalCommand
from alot.commands.search import OpenThreadCommand
def loop_hook(ui=None): def loop_hook(ui=None):
ui.apply_command(ExternalCommand( ui.apply_command(ExternalCommand(
@ -10,7 +9,3 @@ def loop_hook(ui=None):
if ui and ui.current_buffer: if ui and ui.current_buffer:
ui.update() ui.update()
def post_search_select(ui=None, dbm=None, cmd=None):
if isinstance(cmd, OpenThreadCommand):
cmd.thread.remove_tags({"unread"})