diff options
Diffstat (limited to 'widgets/account.go')
-rw-r--r-- | widgets/account.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/account.go b/widgets/account.go index 86ec00c..de81ab8 100644 --- a/widgets/account.go +++ b/widgets/account.go @@ -205,6 +205,10 @@ func (acct *AccountView) onMessage(msg types.WorkerMessage) { func(msg *models.MessageInfo) { acct.conf.Triggers.ExecNewEmail(acct.acct, acct.conf, msg) + }, func() { + if acct.conf.Ui.NewMessageBell { + acct.host.Beep() + } }) acct.dirlist.SetMsgStore(msg.Info.Name, store) store.OnUpdate(func(_ *lib.MessageStore) { |