mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-02 14:35:21 +00:00
fix crash from incorrect send job
related to #4153 Clsoes #4246 // FREEBIE
This commit is contained in:
parent
d70f0f1216
commit
8fe5f35b13
@ -102,6 +102,10 @@ public class PushMediaSendJob extends PushSendJob implements InjectableType {
|
|||||||
throws RetryLaterException, InsecureFallbackApprovalException, UntrustedIdentityException,
|
throws RetryLaterException, InsecureFallbackApprovalException, UntrustedIdentityException,
|
||||||
UndeliverableMessageException
|
UndeliverableMessageException
|
||||||
{
|
{
|
||||||
|
if (message.getTo() == null || message.getTo().length == 0) {
|
||||||
|
throw new UndeliverableMessageException("No destination address.");
|
||||||
|
}
|
||||||
|
|
||||||
TextSecureMessageSender messageSender = messageSenderFactory.create();
|
TextSecureMessageSender messageSender = messageSenderFactory.create();
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user