post rebase fix

This commit is contained in:
Valere 2022-01-10 17:17:35 +01:00
parent 2dbe2b5f30
commit 5c5f2766b6
1 changed files with 4 additions and 2 deletions

View File

@ -55,7 +55,9 @@ class SpaceDirectoryViewModel @AssistedInject constructor(
override fun create(initialState: SpaceDirectoryState): SpaceDirectoryViewModel
}
companion object : MavericksViewModelFactory<SpaceDirectoryViewModel, SpaceDirectoryState> by hiltMavericksViewModelFactory()
companion object : MavericksViewModelFactory<SpaceDirectoryViewModel, SpaceDirectoryState> by hiltMavericksViewModelFactory() {
private const val PAGE_LENGTH = 10
}
init {
@ -78,7 +80,7 @@ class SpaceDirectoryViewModel @AssistedInject constructor(
// A we prefer to use known summaries to have better name resolution
// it's important to have them up to date. Particularly after creation where
// resolved name is sometimes just "New Room"
session.rx().liveRoomSummaries(
session.flow().liveRoomSummaries(
roomSummaryQueryParams {
memberships = listOf(Membership.JOIN)
includeType = null