`displayName` default value is now `QueryStringValue.NoCondition`.

It was working fine since in the DB we always have a name using `RoomDisplayNameFallbackProvider`, which in our current implementation always return a non empty String.
This commit is contained in:
Benoit Marty 2022-05-24 15:33:45 +02:00 committed by Benoit Marty
parent 2b0077b138
commit 8d7a54a6cf
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ data class RoomSummaryQueryParams(
) { ) {
class Builder { class Builder {
var displayName: QueryStringValue = QueryStringValue.IsNotEmpty var displayName: QueryStringValue = QueryStringValue.NoCondition
var canonicalAlias: QueryStringValue = QueryStringValue.NoCondition var canonicalAlias: QueryStringValue = QueryStringValue.NoCondition
var memberships: List<Membership> = Membership.all() var memberships: List<Membership> = Membership.all()
var roomCategoryFilter: RoomCategoryFilter? = RoomCategoryFilter.ALL var roomCategoryFilter: RoomCategoryFilter? = RoomCategoryFilter.ALL