Revert "fix crash from incorrect send job"

This reverts commit 8fe5f35b13.
fork-5.53.8
Moxie Marlinspike 2015-10-23 17:08:17 -07:00
rodzic 8fe5f35b13
commit a5971da2ad
1 zmienionych plików z 0 dodań i 4 usunięć

Wyświetl plik

@ -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 {