Fix unused variable warning in tests

This commit is contained in:
jack
2025-11-26 15:22:09 -10:00
parent 5d2745eae6
commit 3a54160793
@@ -206,16 +206,6 @@ struct ChatViewModelPrivateChatExtensionTests {
viewModel.nostrKeyMapping[blockedPeerID] = hexPubkey viewModel.nostrKeyMapping[blockedPeerID] = hexPubkey
viewModel.identityManager.setNostrBlocked(hexPubkey, isBlocked: true) 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? // Force isGeoChat/isGeoDM check to be true by setting prefix?
// Or ensure the logic covers it. // Or ensure the logic covers it.
// The logic is: // The logic is: