Ensure ShortcutsHandler get all the joined rooms #4168

This commit is contained in:
Benoit Marty 2021-10-22 18:10:32 +02:00
parent 76314b9d87
commit f166348a68

View file

@ -43,8 +43,7 @@ class ShortcutsHandler @Inject constructor(
} }
val session = activeSessionHolder.getSafeActiveSession() ?: return Disposables.empty() val session = activeSessionHolder.getSafeActiveSession() ?: return Disposables.empty()
return session return session.getRoomSummariesLive(
.getPagedRoomSummariesLive(
roomSummaryQueryParams { roomSummaryQueryParams {
memberships = listOf(Membership.JOIN) memberships = listOf(Membership.JOIN)
}, },