Fix NotificationData?.orDefault using an invalid UserId (#362)

This commit is contained in:
Jorge Martin Espinosa
2023-04-27 12:46:32 +02:00
committed by GitHub
parent aef2b38983
commit e2db1cf7a9

View File

@@ -119,7 +119,7 @@ private fun NotificationData?.orDefault(roomId: RoomId, eventId: EventId): Notif
isRemote = false,
localSendState = null,
reactions = emptyList(),
sender = UserId(""),
sender = UserId("@user:domain"),
senderProfile = ProfileTimelineDetails.Unavailable,
timestamp = System.currentTimeMillis(),
content = MessageContent(