mirror of
https://github.com/oxen-io/session-android.git
synced 2025-06-10 04:28:34 +00:00
Revert "fix crash from incorrect send job"
This reverts commit 8fe5f35b13e1ac0838a71dffa3515aef7f5261c4.
This commit is contained in:
parent
8fe5f35b13
commit
a5971da2ad
@ -102,10 +102,6 @@ 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…
x
Reference in New Issue
Block a user