Fix notification rendering by removing leftover test code (#1019)

This commit is contained in:
Jorge Martin Espinosa
2023-08-02 13:55:13 +02:00
committed by GitHub
parent f8ebb5930d
commit 22d4df1baf

View File

@@ -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(