aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/account.go')
-rw-r--r--widgets/account.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go
index e9c86504..ecf357e9 100644
--- a/widgets/account.go
+++ b/widgets/account.go
@@ -241,6 +241,8 @@ func (acct *AccountView) newStore(name string) *lib.MessageStore {
uiConf.SortThreadSiblings,
func(msg *models.MessageInfo) {
err := hooks.RunHook(&hooks.MailReceived{
+ Account: acct.Name(),
+ Folder: name,
MsgInfo: msg,
})
if err != nil {