From c5db94658d553d6bfca6d0ce2d0ddf4e2a31ddfa Mon Sep 17 00:00:00 2001 From: Shane Maynard Date: Sat, 12 Sep 2026 06:57:32 -0400 Subject: [PATCH] Restore same-URL guard in replaceServer Accidentally dropped during the Music tab removal edit; without it, reapplying the current URL recreates the session and loses history. --- Sources/Features/Conversation/ConversationView.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/Features/Conversation/ConversationView.swift b/Sources/Features/Conversation/ConversationView.swift index d956a54..845e76c 100644 --- a/Sources/Features/Conversation/ConversationView.swift +++ b/Sources/Features/Conversation/ConversationView.swift @@ -72,6 +72,7 @@ struct ConversationView: View { // Coalesce rapid Apply actions; construct from the captured URL. while let next = pendingServerURL { pendingServerURL = nil + guard next != activeServerURL else { continue } await session.disconnect() activeServerURL = next session = Self.makeSession(next, settings: settings)