mirror of
https://github.com/oxen-io/session-android.git
synced 2024-12-24 00:37:47 +00:00
parent
7a0765c1c2
commit
758b306527
@ -102,6 +102,13 @@ public class PushMediaSendJob extends PushSendJob implements InjectableType {
|
||||
throws RetryLaterException, InsecureFallbackApprovalException, UntrustedIdentityException,
|
||||
UndeliverableMessageException
|
||||
{
|
||||
if (message.getRecipients() == null ||
|
||||
message.getRecipients().getPrimaryRecipient() == null ||
|
||||
message.getRecipients().getPrimaryRecipient().getNumber() == null)
|
||||
{
|
||||
throw new UndeliverableMessageException("No destination address.");
|
||||
}
|
||||
|
||||
TextSecureMessageSender messageSender = messageSenderFactory.create();
|
||||
|
||||
try {
|
||||
|
Loading…
x
Reference in New Issue
Block a user