Stub file transfer methods in mock

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