qiscus/qiscus-sdk-android

QiscusApi.getInstance().getChatRoom(roomId) returns nothing

Closed this issue · 3 comments

I got no return value from running QiscusApi.getInstance().getChatRoom(roomId). Below is the code that I used.

QiscusApi.getInstance()
                .getChatRoom(id)
                .subscribeOn(Schedulers.io())
                .doOnNext(chatRoom -> QiscusCore.getDataStore().addOrUpdate(chatRoom))
                .observeOn(AndroidSchedulers.mainThread())
                .subscribe(onSuccess::call, onError::call);

Hi @anuress thanks for the report, can you try again?

Hmm, it's not sdk problem, I guess? Anyway, thank you, it's working now.

Cool!, the issue was on Server, but we've fixed it, anyway thanks for the report