Refactoring

This commit is contained in:
M66B 2019-10-13 16:26:37 +02:00
parent c38fc8bb48
commit 469574a598
1 changed files with 3 additions and 1 deletions

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;