mirror of
https://github.com/oxen-io/session-android.git
synced 2024-11-30 13:35:18 +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,
|
||||
UndeliverableMessageException
|
||||
{
|
||||
if (message.getTo() == null || message.getTo().length == 0) {
|
||||
throw new UndeliverableMessageException("No destination address.");
|
||||
}
|
||||
|
||||
TextSecureMessageSender messageSender = messageSenderFactory.create();
|
||||
|
||||
try {
|
||||
|
Loading…
Reference in New Issue
Block a user