|
|
|
@ -825,6 +825,7 @@ public class EntityRule {
|
|
|
|
|
Address[] from = new InternetAddress[]{new InternetAddress(identity.email, identity.name, StandardCharsets.UTF_8.name())};
|
|
|
|
|
|
|
|
|
|
// Prevent loop
|
|
|
|
|
if (isReply) {
|
|
|
|
|
List<EntityMessage> messages = db.message().getMessagesByThread(
|
|
|
|
|
message.account, message.thread, null, null);
|
|
|
|
|
for (EntityMessage threaded : messages)
|
|
|
|
@ -836,6 +837,7 @@ public class EntityRule {
|
|
|
|
|
" from=" + MessageHelper.formatAddresses(from));
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
EntityMessage reply = new EntityMessage();
|
|
|
|
|
reply.account = message.account;
|
|
|
|
|