mirror of
https://github.com/nextcloud/talk-android
synced 2025-07-21 11:45:03 +01: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
@ -129,7 +129,7 @@ public class ApiUtils {
|
|||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static String getUrlForParticipants(String baseUrl, String token) {
|
public static String getUrlForParticipants(String baseUrl, String token) {
|
||||||
return getRoom(baseUrl, token) + "/participants";
|
return getUrlForParticipants(1, baseUrl, token);
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String getUrlForCapabilities(String baseUrl) {
|
public static String getUrlForCapabilities(String baseUrl) {
|
||||||
@ -142,7 +142,7 @@ public class ApiUtils {
|
|||||||
*/
|
*/
|
||||||
@Deprecated
|
@Deprecated
|
||||||
public static String getUrlForGetRooms(String baseUrl) {
|
public static String getUrlForGetRooms(String baseUrl) {
|
||||||
return baseUrl + ocsApiVersion + spreedApiVersion + "/room";
|
return getUrlForRooms(1, baseUrl);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user