Stub file transfer methods in mock

This commit is contained in:
jack
2025-10-15 00:37:41 +01:00
committed by islam
parent b872113a4b
commit cb8b34f8ea
+2 -2
View File
@@ -158,10 +158,10 @@ final class MockBLEService: NSObject {
// Tests currently ignore file transfer flows; keep stub for protocol conformance. // Tests currently ignore file transfer flows; keep stub for protocol conformance.
} }
func sendFilePrivate(_ packet: BitchatFilePacket, to peerID: String, transferId: String) { func sendFilePrivate(_ packet: BitchatFilePacket, to peerID: PeerID, transferId: String) {
// Tests currently ignore file transfer flows; keep stub for protocol conformance. // Tests currently ignore file transfer flows; keep stub for protocol conformance.
} }
func sendPrivateMessage(_ content: String, to recipientPeerID: PeerID, recipientNickname: String, messageID: String) { func sendPrivateMessage(_ content: String, to recipientPeerID: PeerID, recipientNickname: String, messageID: String) {
let message = BitchatMessage( let message = BitchatMessage(
id: messageID, id: messageID,