From c7222e296926a0cc35545da2bcccc94140271875 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 20 Jul 2023 15:41:44 +0200 Subject: [PATCH] Fix warning (suppress, no sure I want to delete this class right now) --- .../libraries/push/impl/notifications/OutdatedEventDetector.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/OutdatedEventDetector.kt b/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/OutdatedEventDetector.kt index 5b15dc78d2..27713399fc 100644 --- a/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/OutdatedEventDetector.kt +++ b/libraries/push/impl/src/main/kotlin/io/element/android/libraries/push/impl/notifications/OutdatedEventDetector.kt @@ -28,7 +28,7 @@ class OutdatedEventDetector @Inject constructor( * Used to clean up notifications if a displayed message has been read on an * other device. */ - fun isMessageOutdated(notifiableEvent: NotifiableEvent): Boolean { + fun isMessageOutdated(@Suppress("UNUSED_PARAMETER") notifiableEvent: NotifiableEvent): Boolean { /* TODO EAx val session = activeSessionDataSource.currentValue?.orNull() ?: return false