diff --git a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/notification/NotificationMapper.kt b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/notification/NotificationMapper.kt index 6f1c3b494b..3a18c7f19a 100644 --- a/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/notification/NotificationMapper.kt +++ b/libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/notification/NotificationMapper.kt @@ -40,7 +40,6 @@ class NotificationMapper( roomId: RoomId, notificationItem: NotificationItem ): NotificationData { - notificationItem.event.use { (it as NotificationEvent.Timeline).event } val senderId = UserId(notificationItem.senderInfo.senderId) return notificationItem.use { item -> NotificationData(