Avoid empty json in filter
This commit is contained in:
parent
b25f13cceb
commit
f28714c5b2
|
@ -56,11 +56,11 @@ internal object FilterFactory {
|
|||
)
|
||||
}
|
||||
|
||||
private fun createElementTimelineFilter(): RoomEventFilter {
|
||||
return RoomEventFilter().apply {
|
||||
private fun createElementTimelineFilter(): RoomEventFilter? {
|
||||
return null // RoomEventFilter().apply {
|
||||
// TODO Enable this for optimization
|
||||
// types = listOfSupportedEventTypes.toMutableList()
|
||||
}
|
||||
// }
|
||||
}
|
||||
|
||||
private fun createElementStateFilter(): RoomEventFilter {
|
||||
|
|
Loading…
Reference in New Issue