mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-02 21:32:34 +00:00
Fix notification rendering by removing leftover test code (#1019)
This commit is contained in:
committed by
GitHub
parent
58ed74607d
commit
82c5b1a348
-1
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user