mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-22 17:35:54 +03:00
making the isNormalized function an extension and internal to the sdk
This commit is contained in:
parent
4ae04fc297
commit
dbb4a87784
2 changed files with 3 additions and 2 deletions
|
@ -39,6 +39,6 @@ sealed interface QueryStringValue {
|
|||
INSENSITIVE,
|
||||
NORMALIZED
|
||||
}
|
||||
|
||||
fun isNormalized() = this is ContentQueryStringValue && case == Case.NORMALIZED
|
||||
}
|
||||
|
||||
internal fun QueryStringValue.isNormalized() = this is QueryStringValue.ContentQueryStringValue && case == QueryStringValue.Case.NORMALIZED
|
||||
|
|
|
@ -29,6 +29,7 @@ import io.realm.Sort
|
|||
import io.realm.kotlin.where
|
||||
import org.matrix.android.sdk.api.query.ActiveSpaceFilter
|
||||
import org.matrix.android.sdk.api.query.RoomCategoryFilter
|
||||
import org.matrix.android.sdk.api.query.isNormalized
|
||||
import org.matrix.android.sdk.api.session.room.ResultBoundaries
|
||||
import org.matrix.android.sdk.api.session.room.RoomSortOrder
|
||||
import org.matrix.android.sdk.api.session.room.RoomSummaryQueryParams
|
||||
|
|
Loading…
Reference in a new issue