Fixes after rebase
This commit is contained in:
parent
ddf9e5055e
commit
e8328858ab
117 changed files with 310 additions and 295 deletions
|
|
@ -19,7 +19,7 @@ import kotlinx.coroutines.flow.runningFold
|
|||
|
||||
@SingleIn(RoomScope::class)
|
||||
@Inject
|
||||
class RoomMemberProfilesCache() {
|
||||
class RoomMemberProfilesCache {
|
||||
private val cache = MutableStateFlow(mapOf<UserId, RoomMember>())
|
||||
val updateFlow = cache.drop(1).runningFold(0) { acc, _ -> acc + 1 }
|
||||
|
||||
|
|
|
|||
|
|
@ -20,7 +20,7 @@ import kotlinx.coroutines.flow.runningFold
|
|||
|
||||
@SingleIn(RoomScope::class)
|
||||
@Inject
|
||||
class RoomNamesCache() {
|
||||
class RoomNamesCache {
|
||||
private val cache = MutableStateFlow(mapOf<RoomIdOrAlias, String?>())
|
||||
val updateFlow = cache.drop(1).runningFold(0) { acc, _ -> acc + 1 }
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue