Stub file transfer methods in mock

This commit is contained in:
jack 2025-09-25 21:03:17 +02:00 committed by islam
parent a8ce4cbf64
commit 2543277755

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(