diff --git a/src/org/thoughtcrime/securesms/mms/IncomingLollipopMmsConnection.java b/src/org/thoughtcrime/securesms/mms/IncomingLollipopMmsConnection.java index 8a2c34066d..8891836ee0 100644 --- a/src/org/thoughtcrime/securesms/mms/IncomingLollipopMmsConnection.java +++ b/src/org/thoughtcrime/securesms/mms/IncomingLollipopMmsConnection.java @@ -95,6 +95,9 @@ public class IncomingLollipopMmsConnection extends LollipopMmsConnection impleme Log.w(TAG, baos.size() + "-byte response: ");// + Hex.dump(baos.toByteArray())); RetrieveConf retrieved = (RetrieveConf) new PduParser(baos.toByteArray()).parse(); + + if (retrieved == null) return null; + sendRetrievedAcknowledgement(transactionId, retrieved.getMmsVersion(), subscriptionId); return retrieved; } catch (IOException | TimeoutException e) {