diff --git a/app/src/main/java/com/nextcloud/talk/api/NcApi.java b/app/src/main/java/com/nextcloud/talk/api/NcApi.java index 2e39a926c..e8e1a51ed 100644 --- a/app/src/main/java/com/nextcloud/talk/api/NcApi.java +++ b/app/src/main/java/com/nextcloud/talk/api/NcApi.java @@ -125,13 +125,6 @@ public interface NcApi { Server URL is: baseUrl + ocsApiVersion + spreedApiVersion + /room/roomToken */ - @FormUrlEncoded - @PUT - Observable renameRoom(@Header("Authorization") String authorization, - @Url String url, - @Field("roomName") String roomName); - - @FormUrlEncoded @PUT Observable setConversationDescription(@Header("Authorization") String authorization, diff --git a/app/src/main/java/com/nextcloud/talk/conversation/RenameConversationDialogFragment.kt b/app/src/main/java/com/nextcloud/talk/conversation/RenameConversationDialogFragment.kt index e5ddcdfa1..451016bfe 100644 --- a/app/src/main/java/com/nextcloud/talk/conversation/RenameConversationDialogFragment.kt +++ b/app/src/main/java/com/nextcloud/talk/conversation/RenameConversationDialogFragment.kt @@ -184,6 +184,7 @@ class RenameConversationDialogFragment : DialogFragment() { } } + @SuppressLint("StringFormatInvalid") private fun handleSuccess() { eventBus.post(ConversationsListFetchDataEvent())