Skip to content

Commit

Permalink
fix feedback for getChatRooms using roomIds
Browse files Browse the repository at this point in the history
  • Loading branch information
ariefnurputranto committed Oct 2, 2019
1 parent 4fc3235 commit 14797cc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,11 @@ public Observable<List<QiscusChatRoom>> getChatRooms(List<Long> roomIds, List<St
.map(QiscusApiParser::parseQiscusChatRoomInfo);
}

public Observable<List<QiscusChatRoom>> getChatRooms(List<Long> roomIds, int page, boolean showRemoved, boolean showParticipant) {
return api.getChatRooms(QiscusCore.getToken(), roomIds, null, showParticipant, showRemoved)
.map(QiscusApiParser::parseQiscusChatRoomInfo);
}

@Deprecated
public Observable<QiscusComment> getComments(long roomId, long lastCommentId) {
return api.getComments(QiscusCore.getToken(), roomId, lastCommentId, false, 20)
Expand Down

0 comments on commit 14797cc

Please sign in to comment.