mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-23 01:45:52 +03:00
Fix / dm flattenParents always growing
This commit is contained in:
parent
0c88d11429
commit
1d8b95560b
1 changed files with 0 additions and 1 deletions
|
@ -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 a new issue