diff --git a/app/src/main/java/com/dluvian/nozzle/data/eventProcessor/EventProcessor.kt b/app/src/main/java/com/dluvian/nozzle/data/eventProcessor/EventProcessor.kt index e83d09d..6daf13a 100644 --- a/app/src/main/java/com/dluvian/nozzle/data/eventProcessor/EventProcessor.kt +++ b/app/src/main/java/com/dluvian/nozzle/data/eventProcessor/EventProcessor.kt @@ -343,7 +343,7 @@ class EventProcessor( } private fun matchesFilter(subId: SubId, event: Event): Boolean { - val cache = filterCache.getOrDefault(subId, emptyList()) + val cache = filterCache.getOrDefault(subId, emptyList()).toList() if (cache.isEmpty()) return false return cache.any { it.matches(event) } }