Commit b4b83f9f authored by Yusuke Iwaki's avatar Yusuke Iwaki Committed by GitHub

Merge pull request #62 from RocketChat/hide-closed-subscription-from-drawer

Hide closed subscriptions from drawer
parents 0772d78b 484420a7
......@@ -63,7 +63,7 @@ public class SidebarMainFragment extends AbstractFragment {
RealmHelper realmHelper = RealmStore.get(serverConfigId);
if (realmHelper != null) {
roomsObserver = realmHelper
.createListObserver(realm -> realm.where(RoomSubscription.class).findAll())
.createListObserver(realm -> realm.where(RoomSubscription.class).equalTo("open", true).findAll())
.setOnUpdateListener(list -> roomListManager.setRooms(list));
currentUserObserver = realmHelper
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment