Handle sending queue recoverable errors the same way as unsent messages. (#2939)

This commit is contained in:
Stefan Ceriu
2024-06-18 19:06:05 +03:00
committed by GitHub
parent 38abd1ddfe
commit 75e8bbd67c
@@ -78,8 +78,8 @@ class EventTimelineItemProxy {
} }
switch localSendState { switch localSendState {
case .sendingFailed: case .sendingFailed(_, let isRecoverable):
return .sendingFailed return isRecoverable ? .sending : .sendingFailed
case .notSentYet: case .notSentYet:
return .sending return .sending
case .sent: case .sent: