summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/chat
diff options
context:
space:
mode:
Diffstat (limited to 'internal/client/ui/core/chat')
-rw-r--r--internal/client/ui/core/chat/chat.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/client/ui/core/chat/chat.go b/internal/client/ui/core/chat/chat.go
index 37fc1a8..5764d45 100644
--- a/internal/client/ui/core/chat/chat.go
+++ b/internal/client/ui/core/chat/chat.go
@@ -710,7 +710,7 @@ func (m *Model) sendMessage() tea.Cmd {
}
func (m *Model) SetReceiver(receiverIndex int) tea.Cmd {
- if m.receiverIndex == receiverIndex {
+ if m.receiverIndex == receiverIndex && m.frequencyIndex == -1 {
return nil
}
m.ResetBeforeSwitch()