mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 13:38:49 +03:00
Ensure ShortcutsHandler get all the joined rooms #4168
This commit is contained in:
parent
76314b9d87
commit
f166348a68
1 changed files with 6 additions and 7 deletions
|
@ -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)
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue