Skip to content

Commit

Permalink
remove unused code
Browse files Browse the repository at this point in the history
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
  • Loading branch information
sowjanyakch committed Nov 19, 2024
1 parent a133c2a commit 0db401d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
8 changes: 0 additions & 8 deletions app/src/main/java/com/nextcloud/talk/api/NcApiCoroutines.kt
Original file line number Diff line number Diff line change
Expand Up @@ -133,14 +133,6 @@ interface NcApiCoroutines {
@Body body: RequestBody
): GenericOverall

@FormUrlEncoded
@PUT
suspend fun setPassword2(
@Header("Authorization") authorization: String,
@Url url: String,
@Field("password") password: String
): GenericOverall

@DELETE
suspend fun clearChatHistory(@Header("Authorization") authorization: String, @Url url: String): GenericOverall

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ class ConversationsRepositoryImpl(
return result
}

override suspend fun clearChatHistory(apiVersion:Int,roomToken:String): GenericOverall {
override suspend fun clearChatHistory(apiVersion: Int, roomToken: String): GenericOverall {
return coroutineApi.clearChatHistory(
credentials,
ApiUtils.getUrlForChat(apiVersion, user.baseUrl!!, roomToken)
Expand Down

0 comments on commit 0db401d

Please sign in to comment.