mirror of
https://github.com/oxen-io/session-android.git
synced 2025-10-09 12:30:07 +00:00
Retry on network failures during media message sends.
Fixes #4332 // FREEBIE
This commit is contained in:
@@ -89,6 +89,8 @@ public class PushMediaSendJob extends PushSendJob implements InjectableType {
|
||||
@Override
|
||||
public boolean onShouldRetryThrowable(Exception exception) {
|
||||
if (exception instanceof RequirementNotMetException) return true;
|
||||
if (exception instanceof RetryLaterException) return true;
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user