Don't put DM in spaces based on user memberships

Change-Id: I0dcd369a76f86e86d8d194db3ba133fae615a45a
This commit is contained in:
SpiritCroc 2021-07-09 12:54:52 +02:00
parent c8d9e69c40
commit c1b1d855d4
1 changed files with 2 additions and 0 deletions

View File

@ -406,6 +406,7 @@ internal class RoomSummaryUpdater @Inject constructor(
// we need also to filter DMs...
// it's more annoying as based on if the other members belong the space or not
/*
RoomSummaryEntity.where(realm)
.equalTo(RoomSummaryEntityFields.IS_DIRECT, true)
.process(RoomSummaryEntityFields.MEMBERSHIP_STR, Membership.activeMemberships())
@ -430,6 +431,7 @@ internal class RoomSummaryUpdater @Inject constructor(
}
// Timber.v("## SPACES: flatten of ${dmRoom.otherMemberIds.joinToString(",")} is ${dmRoom.flattenParentIds}")
}
*/
// Maybe a good place to count the number of notifications for spaces?