Signed-off-by: Mario Danic <mario@lovelyhq.com>
This commit is contained in:
Mario Danic 2018-05-29 11:25:05 +02:00
parent 8357a1bb65
commit 73dcfff367

View file

@ -899,6 +899,7 @@ public class CallActivity extends AppCompatActivity {
@Override
public void onNext(CallOverall callOverall) {
callSession = callOverall.getOcs().getData().getSessionId();
performCall();
}
@ -1249,7 +1250,7 @@ public class CallActivity extends AppCompatActivity {
}
private void leaveRoom() {
ncApi.leaveRoom(credentials, ApiUtils.getRoom(baseUrl, roomToken))
ncApi.leaveRoom(credentials, ApiUtils.getUrlForRoomParticipants(baseUrl, roomToken))
.subscribeOn(Schedulers.newThread())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(new Observer<GenericOverall>() {