Browse Source

remove unused code

Signed-off-by: sowjanyakch <sowjanya.kch@gmail.com>
sowjanyakch 5 tháng trước cách đây
mục cha
commit
0db401de4a

+ 0 - 8
app/src/main/java/com/nextcloud/talk/api/NcApiCoroutines.kt

@@ -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
 

+ 1 - 1
app/src/main/java/com/nextcloud/talk/repositories/conversations/ConversationsRepositoryImpl.kt

@@ -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)