mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-26 19:36:08 +03:00
post rebase fix
This commit is contained in:
parent
2dbe2b5f30
commit
5c5f2766b6
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue