Skip to content

Commit 82c5b1a

Browse files
authored
Fix notification rendering by removing leftover test code (#1019)
1 parent 58ed746 commit 82c5b1a

File tree

1 file changed

+0
-1
lines changed
  • libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/notification

1 file changed

+0
-1
lines changed

libraries/matrix/impl/src/main/kotlin/io/element/android/libraries/matrix/impl/notification/NotificationMapper.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ class NotificationMapper(
4040
roomId: RoomId,
4141
notificationItem: NotificationItem
4242
): NotificationData {
43-
notificationItem.event.use { (it as NotificationEvent.Timeline).event }
4443
val senderId = UserId(notificationItem.senderInfo.senderId)
4544
return notificationItem.use { item ->
4645
NotificationData(

0 commit comments

Comments
 (0)