Skip to content

Commit

Permalink
Handle sending queue recoverable errors the same way as unsent messag…
Browse files Browse the repository at this point in the history
…es. (#2939)
  • Loading branch information
stefanceriu authored Jun 18, 2024
1 parent 38abd1d commit 75e8bbd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ElementX/Sources/Services/Timeline/TimelineItemProxy.swift
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ class EventTimelineItemProxy {
}

switch localSendState {
case .sendingFailed:
return .sendingFailed
case .sendingFailed(_, let isRecoverable):
return isRecoverable ? .sending : .sendingFailed
case .notSentYet:
return .sending
case .sent:
Expand Down

0 comments on commit 75e8bbd

Please sign in to comment.