From c55eba42191b46c688bc3d59ec807d64b01810dd Mon Sep 17 00:00:00 2001 From: Fabrice Lecomte Date: Fri, 20 Mar 2020 01:33:48 +0100 Subject: [PATCH] Fix Mark as read notification --- src/main/kotlin/fr/dcproject/event/EventSubscriber.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/kotlin/fr/dcproject/event/EventSubscriber.kt b/src/main/kotlin/fr/dcproject/event/EventSubscriber.kt index 0abd3f8..23f553d 100644 --- a/src/main/kotlin/fr/dcproject/event/EventSubscriber.kt +++ b/src/main/kotlin/fr/dcproject/event/EventSubscriber.kt @@ -9,7 +9,7 @@ import kotlinx.coroutines.DisposableHandle import org.joda.time.DateTime import kotlin.random.Random.Default.nextInt -abstract class Event( +open class Event( val type: String, val createdAt: DateTime = DateTime.now() ) : Serializable {