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 9bf388eb1a
commit 243a39d6de
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(