show sent mails in inbox
This commit is contained in:
parent
69f9fdcfb8
commit
4bf0b73da6
@ -11,7 +11,7 @@ periodic_hook_frequency = 60
|
||||
sendmail_command = /usr/bin/msmtp --account=gmail -t
|
||||
sent_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
|
||||
|
||||
[[ugent]]
|
||||
@ -22,7 +22,7 @@ periodic_hook_frequency = 60
|
||||
sendmail_command = /usr/bin/msmtp --account=ugent -t
|
||||
sent_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
|
||||
|
||||
[bindings]
|
||||
|
@ -1,6 +1,5 @@
|
||||
|
||||
from alot.commands.globals import ExternalCommand
|
||||
from alot.commands.search import OpenThreadCommand
|
||||
|
||||
def loop_hook(ui=None):
|
||||
ui.apply_command(ExternalCommand(
|
||||
@ -10,7 +9,3 @@ def loop_hook(ui=None):
|
||||
if ui and ui.current_buffer:
|
||||
ui.update()
|
||||
|
||||
def post_search_select(ui=None, dbm=None, cmd=None):
|
||||
if isinstance(cmd, OpenThreadCommand):
|
||||
cmd.thread.remove_tags({"unread"})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user