mirror of
https://github.com/oxen-io/session-android.git
synced 2025-01-12 08:33:39 +00:00
Don't issue errors when group members unregister
Fixes #2408 Fixes #4550 Closes #5318 // FREEBIE
This commit is contained in:
parent
fd43dbdcdb
commit
021942fd43
@ -104,12 +104,18 @@ public class PushGroupSendJob extends PushSendJob implements InjectableType {
|
||||
}
|
||||
|
||||
database.addFailures(messageId, failures);
|
||||
database.markAsSentFailed(messageId);
|
||||
database.markAsPush(messageId);
|
||||
|
||||
if (e.getNetworkExceptions().isEmpty() && e.getUntrustedIdentityExceptions().isEmpty()) {
|
||||
database.markAsSecure(messageId);
|
||||
database.markAsSent(messageId);
|
||||
markAttachmentsUploaded(messageId, message.getAttachments());
|
||||
} else {
|
||||
database.markAsSentFailed(messageId);
|
||||
notifyMediaMessageDeliveryFailed(context, messageId);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onShouldRetryThrowable(Exception exception) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user