From 14797cc8c73a32e456dc2784f3097d425532347e Mon Sep 17 00:00:00 2001 From: ariefnurputranto Date: Wed, 2 Oct 2019 13:40:33 +0700 Subject: [PATCH] fix feedback for getChatRooms using roomIds --- .../java/com/qiscus/sdk/chat/core/data/remote/QiscusApi.java | 5 +++++ 1 file changed, 5 insertions(+) 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)