This commit is contained in:
M66B 2023-07-23 07:35:28 +02:00
parent 4db26369c7
commit 86a0e9c2eb
2 changed files with 2 additions and 6 deletions

View File

@ -129,7 +129,6 @@ import javax.mail.internet.AddressException;
import javax.mail.internet.InternetAddress;
import javax.mail.internet.MimeBodyPart;
import javax.mail.internet.MimeMessage;
import javax.mail.search.AndTerm;
import javax.mail.search.ComparisonTerm;
import javax.mail.search.FlagTerm;
import javax.mail.search.HeaderTerm;
@ -2146,10 +2145,9 @@ class Core {
if (trash == null) {
imessage.setFlag(Flags.Flag.DELETED, true);
expunge(context, ifolder, Arrays.asList(imessage));
} else {
} else
EntityOperation.queue(context, message, EntityOperation.MOVE, trash.id);
}
}
static boolean deletePart(Part part, Part attachment) throws MessagingException, IOException {
boolean deleted = false;
@ -3104,10 +3102,9 @@ class Core {
if (trash == null) {
imessage.setFlag(Flags.Flag.DELETED, true);
expunge(context, ifolder, Arrays.asList(imessage));
} else {
} else
EntityOperation.queue(context, message, EntityOperation.MOVE, trash.id);
}
}
private static void onSynchronizeMessages(
Context context, JSONArray jargs,

View File

@ -30,7 +30,6 @@ import android.view.LayoutInflater;
import android.view.View;
import android.view.inputmethod.EditorInfo;
import android.widget.Button;
import android.widget.CheckBox;
import android.widget.EditText;
import android.widget.TextView;