Desktop fixes #320

Merged
RecentRunner merged 3 commits from fix-desktop-launch into main 2026-04-15 23:21:28 -06:00
Showing only changes of commit 703402b5b6 - Show all commits

View File

@@ -90,8 +90,9 @@ public class ChatRealtimeClient implements WebSocket.Listener {
for (ConversationResponse conv : globalConversations.values()) {
if ("CLOSED".equals(conv.getStatus())) continue;
// Needs pickup
if (conv.getHumanRequestedAt() != null && conv.getStaffId() == null) {
// Needs pickup - only if we haven't already replied
if (conv.getHumanRequestedAt() != null && conv.getStaffId() == null
&& (currentUserId == null || !currentUserId.equals(conv.getLastSenderId()))) {
return true;
}