Media: clean up code

This commit is contained in:
ganfra
2023-06-06 22:18:13 +02:00
parent 730f50a433
commit e3457fb594
5 changed files with 8 additions and 9 deletions

View File

@@ -33,7 +33,8 @@ interface MatrixMediaLoader {
/**
* @param source to fetch the data for.
* @param mimeType: optional mime type
* @param mimeType: optional mime type.
* @param body: optional body which will be used to name the file.
* @return a [Result] of [MediaFile]
*/
suspend fun downloadMediaFile(source: MediaSource, mimeType: String?, body: String?): Result<MediaFile>