summaryrefslogtreecommitdiff
path: root/internal/client/ui/core/chat/chat.go
diff options
context:
space:
mode:
authorKyren223 <Kyren223@proton.me>2025-02-06 16:56:05 +0200
committerKyren223 <Kyren223@proton.me>2025-02-06 16:56:05 +0200
commit0ffeb67a3c447dc2af16844a08585568c3008b11 (patch)
treef180bbf7f77568ae6dea8ba7afa9e49cc3beca59 /internal/client/ui/core/chat/chat.go
parent242add420da163223405650c6509e48a2aea4433 (diff)
User signals now support not selecting any signal (which is the default
on start to avoid "insta-reading" messages of the top isgnal)
Diffstat (limited to 'internal/client/ui/core/chat/chat.go')
-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()