diff options
Diffstat (limited to 'app')
-rw-r--r-- | app/account.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/account.go b/app/account.go index 08ab6498..99739f01 100644 --- a/app/account.go +++ b/app/account.go @@ -282,6 +282,16 @@ func (acct *AccountView) newStore(name string) *lib.MessageStore { msg := fmt.Sprintf("mail-added hook: %s", err) PushError(msg) } + }, func(add []string, remove []string) { + err := hooks.RunHook(&hooks.TagModified{ + Account: acct.Name(), + Add: add, + Remove: remove, + }) + if err != nil { + msg := fmt.Sprintf("tag-modified hook: %s", err) + PushError(msg) + } }, acct.updateSplitView, acct.dirlist.UiConfig(name).ThreadContext, |