summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/core.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-02-13 16:49:07 +0200
committerKyren223 <Kyren223@proton.me>2025-02-13 16:49:07 +0200
commitcfc5fa3d5e9036400b33a2835cc284f26a872ad9 (patch)
tree9d2ba0ba3d87ad98443383358075e6e299e8bb77 /internal/client/ui/core/core.go
parentab4b010e95360405d344e2859df423dc9d3b02fe (diff)
Users that are no longer members (left/kicked/banned) now get fetched
and show their names properly in messages
Diffstat (limited to 'internal/client/ui/core/core.go')
-rw-r--r--internal/client/ui/core/core.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/client/ui/core/core.go b/internal/client/ui/core/core.go
index b46a22b..fce8414 100644
--- a/internal/client/ui/core/core.go
+++ b/internal/client/ui/core/core.go
@@ -332,6 +332,9 @@ func (m *Model) updateConnected(message tea.Msg) tea.Cmd {
case *packet.BlockInfo:
state.UpdateBlockedUsers(msg)
+ case *packet.UsersInfo:
+ state.UpdateUsersInfo(msg)
+
case *packet.NotificationsInfo:
signals := state.UpdateNotifications(msg)
if m.networkList.Index() == networklist.SignalsIndex {