Fix notification rendering by removing leftover test code (#1019)
This commit is contained in:
committed by
GitHub
parent
f8ebb5930d
commit
22d4df1baf
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user