From 3a541607933fb81f3f354a2f012eee9a22dd21fd Mon Sep 17 00:00:00 2001 From: jack Date: Wed, 26 Nov 2025 15:22:09 -1000 Subject: [PATCH] Fix unused variable warning in tests --- bitchatTests/ChatViewModelExtensionsTests.swift | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bitchatTests/ChatViewModelExtensionsTests.swift b/bitchatTests/ChatViewModelExtensionsTests.swift index b2ad352c..6c04d35c 100644 --- a/bitchatTests/ChatViewModelExtensionsTests.swift +++ b/bitchatTests/ChatViewModelExtensionsTests.swift @@ -206,16 +206,6 @@ struct ChatViewModelPrivateChatExtensionTests { viewModel.nostrKeyMapping[blockedPeerID] = hexPubkey viewModel.identityManager.setNostrBlocked(hexPubkey, isBlocked: true) - let message = BitchatMessage( - id: "msg-blocked", - sender: "BlockedUser", - content: "Spam", - timestamp: Date(), - isRelay: false, - isPrivate: true, - senderPeerID: blockedPeerID - ) - // Force isGeoChat/isGeoDM check to be true by setting prefix? // Or ensure the logic covers it. // The logic is: