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, isRemote = false,
localSendState = null, localSendState = null,
reactions = emptyList(), reactions = emptyList(),
sender = UserId(""), sender = UserId("@user:domain"),
senderProfile = ProfileTimelineDetails.Unavailable, senderProfile = ProfileTimelineDetails.Unavailable,
timestamp = System.currentTimeMillis(), timestamp = System.currentTimeMillis(),
content = MessageContent( content = MessageContent(