mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-23 13:35:33 +03:00
remove unused code
Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
This commit is contained in:
parent
a133c2a3b9
commit
0db401de4a
2 changed files with 1 additions and 9 deletions
|
@ -133,14 +133,6 @@ interface NcApiCoroutines {
|
||||||
@Body body: RequestBody
|
@Body body: RequestBody
|
||||||
): GenericOverall
|
): GenericOverall
|
||||||
|
|
||||||
@FormUrlEncoded
|
|
||||||
@PUT
|
|
||||||
suspend fun setPassword2(
|
|
||||||
@Header("Authorization") authorization: String,
|
|
||||||
@Url url: String,
|
|
||||||
@Field("password") password: String
|
|
||||||
): GenericOverall
|
|
||||||
|
|
||||||
@DELETE
|
@DELETE
|
||||||
suspend fun clearChatHistory(@Header("Authorization") authorization: String, @Url url: String): GenericOverall
|
suspend fun clearChatHistory(@Header("Authorization") authorization: String, @Url url: String): GenericOverall
|
||||||
|
|
||||||
|
|
|
@ -93,7 +93,7 @@ class ConversationsRepositoryImpl(
|
||||||
return result
|
return result
|
||||||
}
|
}
|
||||||
|
|
||||||
override suspend fun clearChatHistory(apiVersion:Int,roomToken:String): GenericOverall {
|
override suspend fun clearChatHistory(apiVersion: Int, roomToken: String): GenericOverall {
|
||||||
return coroutineApi.clearChatHistory(
|
return coroutineApi.clearChatHistory(
|
||||||
credentials,
|
credentials,
|
||||||
ApiUtils.getUrlForChat(apiVersion, user.baseUrl!!, roomToken)
|
ApiUtils.getUrlForChat(apiVersion, user.baseUrl!!, roomToken)
|
||||||
|
|
Loading…
Reference in a new issue