From b072872c85d26f6a213f531f0746ef005c5c9a43 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 20 Jul 2023 15:37:50 +0200 Subject: [PATCH] Fix warning (suppress, no sure I want to delete this class right now) --- .../libraries/push/impl/notifications/FilteredEventDetector.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/FilteredEventDetector.kt b/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/FilteredEventDetector.kt index a24f088998..2d4d27472b 100644 --- a/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/FilteredEventDetector.kt +++ b/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/FilteredEventDetector.kt @@ -27,7 +27,7 @@ class FilteredEventDetector @Inject constructor( * Returns true if the given event should be ignored. * Used to skip notifications if a non expected message is received. */ - fun shouldBeIgnored(notifiableEvent: NotifiableEvent): Boolean { + fun shouldBeIgnored(@Suppress("UNUSED_PARAMETER") notifiableEvent: NotifiableEvent): Boolean { /* TODO EAx val session = activeSessionDataSource.currentValue?.orNull() ?: return false