summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/core.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core/core.go')
-rw-r--r--internal/client/ui/core/core.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/client/ui/core/core.go b/internal/client/ui/core/core.go
index c7b3ca4..eb07593 100644
--- a/internal/client/ui/core/core.go
+++ b/internal/client/ui/core/core.go
@@ -562,8 +562,6 @@ func (m *Model) updateConnected(msg tea.Msg) tea.Cmd {
return cmd
}
- calculateNotifications()
-
var cmds []tea.Cmd
var cmd tea.Cmd
@@ -592,6 +590,8 @@ func (m *Model) updateConnected(msg tea.Msg) tea.Cmd {
m.chat, cmd = m.chat.Update(msg)
cmds = append(cmds, cmd)
+ calculateNotifications()
+
return tea.Batch(cmds...)
}