Use new method instead of copied behaviour

Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
Joas Schilling 2021-05-03 15:26:40 +02:00
parent ad71cc3a97
commit 68369873f4
No known key found for this signature in database
GPG key ID: 7076EA9751AACDDA

View file

@ -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);
}
/**