mirror of
https://github.com/nextcloud/talk-android.git
synced 2024-11-26 23:25:20 +03:00
Use new method instead of copied behaviour
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
ad71cc3a97
commit
68369873f4
1 changed files with 2 additions and 2 deletions
|
@ -129,7 +129,7 @@ public class ApiUtils {
|
|||
*/
|
||||
@Deprecated
|
||||
public static String getUrlForParticipants(String baseUrl, String token) {
|
||||
return getRoom(baseUrl, token) + "/participants";
|
||||
return getUrlForParticipants(1, baseUrl, token);
|
||||
}
|
||||
|
||||
public static String getUrlForCapabilities(String baseUrl) {
|
||||
|
@ -142,7 +142,7 @@ public class ApiUtils {
|
|||
*/
|
||||
@Deprecated
|
||||
public static String getUrlForGetRooms(String baseUrl) {
|
||||
return baseUrl + ocsApiVersion + spreedApiVersion + "/room";
|
||||
return getUrlForRooms(1, baseUrl);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue