diff options
Diffstat (limited to 'internal/client/ui/core/chat/chat.go')
| -rw-r--r-- | internal/client/ui/core/chat/chat.go | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/internal/client/ui/core/chat/chat.go b/internal/client/ui/core/chat/chat.go index c7735f7..9b0f240 100644 --- a/internal/client/ui/core/chat/chat.go +++ b/internal/client/ui/core/chat/chat.go @@ -413,6 +413,17 @@ func (m Model) Update(msg tea.Msg) (Model, tea.Cmd) { m.SetIndex(Unselected) } + case "p": + if m.selectedMessage == nil { + return m, nil + } + + return m, func() tea.Msg { + return ui.ProfilePopupMsg{ + User: m.selectedMessage.SenderID, + } + } + case "x", "d": if m.selectedMessage == nil { return m, nil |
