Revert "fix crash from incorrect send job"

This reverts commit 8fe5f35b13.
pull/1/head
Moxie Marlinspike 9 years ago
parent 8fe5f35b13
commit a5971da2ad

@ -102,10 +102,6 @@ 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…
Cancel
Save