SendBrokenAssetMessageUseCaseImpl
internal class SendBrokenAssetMessageUseCaseImpl(currentClientIdProvider: CurrentClientIdProvider, assetDataSource: AssetRepository, userId: <Error class: unknown class>, slowSyncRepository: SlowSyncRepository, messageSender: MessageSender, messageRepository: MessageRepository) : SendBrokenAssetMessageUseCase
Constructors
Link copied to clipboard
constructor(currentClientIdProvider: CurrentClientIdProvider, assetDataSource: AssetRepository, userId: <Error class: unknown class>, slowSyncRepository: SlowSyncRepository, messageSender: MessageSender, messageRepository: MessageRepository)
Functions
Link copied to clipboard
open suspend operator override fun invoke(conversationId: <Error class: unknown class>, assetDataPath: <Error class: unknown class>, assetDataSize: Long, assetName: String, assetMimeType: String, brokenState: BrokenState): SendBrokenAssetMessageResult
Function that can be used to send manipulated asset messages to a given conversation. Manipulation can be either a wrong checksum or a changed otrKey. This debug function can be used to test correct client behaviour. It should not be used by clients itself.