mirror of
https://github.com/permissionlesstech/bitchat.git
synced 2026-07-25 18:45:20 +00:00
Fix unused variable warning in tests
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user