mirror of
https://github.com/M66B/FairEmail.git
synced 2025-01-01 12:44:42 +00:00
Allow auto submitted for forwarding
This commit is contained in:
parent
96f3a539d6
commit
b885cca8f7
1 changed files with 3 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue