Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 017e064b authored by Enming Xie's avatar Enming Xie
Browse files

Enhancement Do not remove the attached MMS if no recipient set when pressing Send button

parent 6a226be1
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -426,7 +426,6 @@ public class ComposeView extends LinearLayout implements View.OnClickListener {
        } else {
            attachment = null;
        }
        clearAttachment();

        String[] recipients = null;
        if (mConversation != null) {
@@ -440,6 +439,8 @@ public class ComposeView extends LinearLayout implements View.OnClickListener {

        // If we have some recipients, send the message!
        if (recipients != null && recipients.length > 0) {
            clearAttachment();

            mReplyText.setText("");

            AnalyticsManager.getInstance().sendEvent(