mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 19:11:45 +00:00
- automatically retry failed requests as soon as the network is availble again - remove manual retry options
This commit is contained in:
committed by
Stefan Ceriu
parent
53fc5df55b
commit
6c1647b851
@@ -78,11 +78,8 @@ class EventTimelineItemProxy {
|
||||
}
|
||||
|
||||
switch localSendState {
|
||||
case .notSentYet:
|
||||
case .notSentYet, .sendingFailed:
|
||||
return .sending
|
||||
// cancelled is exactly like sendingFailed but does not contain an error
|
||||
case .sendingFailed, .cancelled:
|
||||
return .sendingFailed
|
||||
case .sent:
|
||||
return .sent
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user