Skip to content

Commit ae2eb26

Browse files
committed
fix detekt
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
1 parent bb1d5f7 commit ae2eb26

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

app/src/main/java/com/nextcloud/talk/api/NcApiCoroutines.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,7 @@ interface NcApiCoroutines {
474474
@Field("fileNames") fileName: List<String>
475475
): ChatProbeAttachmentFolderOverall
476476

477+
@Suppress("LongParameterList")
477478
@FormUrlEncoded
478479
@POST
479480
suspend fun postConversationAttachment(

app/src/main/java/com/nextcloud/talk/upload/chunked/ChunkedFileUploader.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ class ChunkedFileUploader(
130130
}
131131
}
132132

133+
@Suppress("ReturnCount")
133134
private fun uploadToDraftFolder(localFile: File, mimeType: MediaType?): Boolean {
134135
val credentials = ApiUtils.getCredentials(currentUser.username, currentUser.token) ?: return false
135136
val probeResponse = runBlocking {

0 commit comments

Comments
 (0)