1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

Refactoring

This commit is contained in:
M66B 2019-10-13 16:26:37 +02:00
parent c38fc8bb48
commit 469574a598

View file

@ -2151,7 +2151,8 @@ class Core {
Log.i(folder.name + " added id=" + message.id + " uid=" + message.uid);
int sequence = 1;
for (EntityAttachment attachment : parts.getAttachments()) {
List<EntityAttachment> attachments = parts.getAttachments();
for (EntityAttachment attachment : attachments) {
Log.i(folder.name + " attachment seq=" + sequence + " " + attachment);
attachment.message = message.id;
attachment.sequence = sequence++;
@ -2353,6 +2354,7 @@ class Core {
}
private static void runRules(Context context, Message imessage, EntityMessage message, List<EntityRule> rules) {
if (!ActivityBilling.isPro(context))
return;