Fix notification rendering by removing leftover test code (#1019)
This commit is contained in:
parent
f8ebb5930d
commit
22d4df1baf
1 changed files with 0 additions and 1 deletions
|
|
@ -40,7 +40,6 @@ class NotificationMapper(
|
||||||
roomId: RoomId,
|
roomId: RoomId,
|
||||||
notificationItem: NotificationItem
|
notificationItem: NotificationItem
|
||||||
): NotificationData {
|
): NotificationData {
|
||||||
notificationItem.event.use { (it as NotificationEvent.Timeline).event }
|
|
||||||
val senderId = UserId(notificationItem.senderInfo.senderId)
|
val senderId = UserId(notificationItem.senderInfo.senderId)
|
||||||
return notificationItem.use { item ->
|
return notificationItem.use { item ->
|
||||||
NotificationData(
|
NotificationData(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue