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 2376d32b9e
commit 78a715ce8d

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(