Fix / dm flattenParents always growing
This commit is contained in:
parent
0c88d11429
commit
1d8b95560b
@ -199,7 +199,6 @@ internal class RoomSummaryUpdater @Inject constructor(
|
|||||||
measureTimeMillis {
|
measureTimeMillis {
|
||||||
val lookupMap = realm.where(RoomSummaryEntity::class.java)
|
val lookupMap = realm.where(RoomSummaryEntity::class.java)
|
||||||
.process(RoomSummaryEntityFields.MEMBERSHIP_STR, Membership.activeMemberships())
|
.process(RoomSummaryEntityFields.MEMBERSHIP_STR, Membership.activeMemberships())
|
||||||
.equalTo(RoomSummaryEntityFields.IS_DIRECT, false)
|
|
||||||
// we order by roomID to be consistent when breaking parent/child cycles
|
// we order by roomID to be consistent when breaking parent/child cycles
|
||||||
.sort(RoomSummaryEntityFields.ROOM_ID)
|
.sort(RoomSummaryEntityFields.ROOM_ID)
|
||||||
.findAll().map {
|
.findAll().map {
|
||||||
|
Loading…
Reference in New Issue
Block a user