From a4a0ec0fbc38eda2b69d8b15760e9a86e9f128b1 Mon Sep 17 00:00:00 2001 From: jack Date: Tue, 11 Aug 2026 11:09:51 +0200 Subject: [PATCH] Fix CI: update stale geo-block assertion; drop unused favorite string MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - CommandProcessorTests still asserted the old "blocked … in geohash chats" copy that this branch rewrote to the per-channel wording. - The `mesh_peers.state.favorite` state constant was replaced by the mutual/pending pair and left unused — Periphery (now blocking) flagged it. Removed. Co-Authored-By: Claude Fable 5 --- bitchat/Views/MeshPeerList.swift | 1 - bitchatTests/CommandProcessorTests.swift | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/bitchat/Views/MeshPeerList.swift b/bitchat/Views/MeshPeerList.swift index ca79801d..1713994e 100644 --- a/bitchat/Views/MeshPeerList.swift +++ b/bitchat/Views/MeshPeerList.swift @@ -24,7 +24,6 @@ struct MeshPeerList: View { static let reachable = String(localized: "content.accessibility.reachable_mesh", comment: "Accessibility label for mesh-reachable peer indicator") static let nostr = String(localized: "content.accessibility.available_nostr", comment: "Accessibility label for Nostr-available peer indicator") static let offline = String(localized: "mesh_peers.state.offline", comment: "State label for a peer that is not currently reachable") - static let favorite = String(localized: "mesh_peers.state.favorite", comment: "State label for a favorited peer") static let unread = String(localized: "mesh_peers.state.unread", comment: "State label for a peer with unread private messages") static let blocked = String(localized: "mesh_peers.state.blocked", comment: "State label for a blocked peer") static let vouched = String(localized: "mesh_peers.state.vouched", comment: "State label for a peer vouched for by someone the user verified") diff --git a/bitchatTests/CommandProcessorTests.swift b/bitchatTests/CommandProcessorTests.swift index 232aa265..0954befc 100644 --- a/bitchatTests/CommandProcessorTests.swift +++ b/bitchatTests/CommandProcessorTests.swift @@ -287,7 +287,7 @@ struct CommandProcessorTests { } switch blockResult { case .success(let message): - #expect(message == "blocked carol in geohash chats") + #expect(message == "blocked carol in this geohash channel — in other geohash channels they appear as someone new, so block them there too if needed") default: Issue.record("Expected success result") }