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 58ed74607d
commit 82c5b1a348
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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(