diff options
Diffstat (limited to 'lib/hooks/flag-changed.go')
-rw-r--r-- | lib/hooks/flag-changed.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hooks/flag-changed.go b/lib/hooks/flag-changed.go index aaeff014..e70b67c0 100644 --- a/lib/hooks/flag-changed.go +++ b/lib/hooks/flag-changed.go @@ -9,6 +9,7 @@ import ( type FlagChanged struct { Account string Folder string + Role string FlagName string } @@ -20,6 +21,7 @@ func (m *FlagChanged) Env() []string { env := []string{ fmt.Sprintf("AERC_ACCOUNT=%s", m.Account), fmt.Sprintf("AERC_FOLDER=%s", m.Folder), + fmt.Sprintf("AERC_FOLDER_ROLE=%s", m.Role), fmt.Sprintf("AERC_FLAG=%s", m.FlagName), } |