mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-31 14:17:03 +02:00
Allow auto submitted for forwarding
This commit is contained in:
@@ -502,9 +502,11 @@ public class EntityRule {
|
||||
|
||||
private boolean onActionAnswer(Context context, EntityMessage message, JSONObject jargs) {
|
||||
DB db = DB.getInstance(context);
|
||||
String to = jargs.optString("to");
|
||||
boolean attachments = jargs.optBoolean("attachments");
|
||||
|
||||
if (message.auto_submitted != null && message.auto_submitted) {
|
||||
if (TextUtils.isEmpty(to) &&
|
||||
message.auto_submitted != null && message.auto_submitted) {
|
||||
EntityLog.log(context, EntityLog.Type.Rules, message,
|
||||
"Auto submitted rule=" + name);
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user