Don't blindly retry fetching pending or failed event details
This commit is contained in:
parent
babb25d45f
commit
f7f6fdc770
3 changed files with 17 additions and 2 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue