From 82c5b1a348b751a26ac74d1f58a8a9edbd95d0d0 Mon Sep 17 00:00:00 2001 From: Jorge Martin Espinosa Date: Wed, 2 Aug 2023 13:55:13 +0200 Subject: [PATCH] Fix notification rendering by removing leftover test code (#1019) --- .../libraries/matrix/impl/notification/NotificationMapper.kt | 1 - 1 file changed, 1 deletion(-) 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(