mirror of https://github.com/M66B/FairEmail.git
Cleanup
This commit is contained in:
parent
4db26369c7
commit
86a0e9c2eb
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue