aboutsummaryrefslogtreecommitdiff
path: root/app/account.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/account.go')
-rw-r--r--app/account.go10
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,