Don't blindly retry fetching pending or failed event details

This commit is contained in:
Jorge Martín 2023-07-19 13:14:45 +02:00
parent babb25d45f
commit f7f6fdc770
3 changed files with 17 additions and 2 deletions

View file

@ -58,7 +58,8 @@ class EventMessageMapper {
)
}
is RepliedToEventDetails.Error -> InReplyTo.Error
is RepliedToEventDetails.Pending, is RepliedToEventDetails.Unavailable -> InReplyTo.NotLoaded(inReplyToId!!)
is RepliedToEventDetails.Pending -> InReplyTo.Pending
is RepliedToEventDetails.Unavailable -> InReplyTo.NotLoaded(inReplyToId!!)
}
}
MessageContent(