mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 08:47:46 +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,10 +104,16 @@ public class PushGroupSendJob extends PushSendJob implements InjectableType {
|
||||
}
|
||||
|
||||
database.addFailures(messageId, failures);
|
||||
database.markAsSentFailed(messageId);
|
||||
database.markAsPush(messageId);
|
||||
|
||||
notifyMediaMessageDeliveryFailed(context, 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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user