diff --git a/chat-core/src/main/java/com/qiscus/sdk/chat/core/data/remote/QiscusApi.java b/chat-core/src/main/java/com/qiscus/sdk/chat/core/data/remote/QiscusApi.java index fcdcc77fe..510d05528 100644 --- a/chat-core/src/main/java/com/qiscus/sdk/chat/core/data/remote/QiscusApi.java +++ b/chat-core/src/main/java/com/qiscus/sdk/chat/core/data/remote/QiscusApi.java @@ -299,6 +299,11 @@ public Observable> getChatRooms(List roomIds, List> getChatRooms(List roomIds, int page, boolean showRemoved, boolean showParticipant) { + return api.getChatRooms(QiscusCore.getToken(), roomIds, null, showParticipant, showRemoved) + .map(QiscusApiParser::parseQiscusChatRoomInfo); + } + @Deprecated public Observable getComments(long roomId, long lastCommentId) { return api.getComments(QiscusCore.getToken(), roomId, lastCommentId, false, 20)