fix(processor): fixes AND expression when combining multiple conditions via outer expression

fixes #115, ref #101
This commit is contained in:
Tilmann Bach 2021-02-13 13:16:00 +01:00
parent 803055029e
commit cbf6759274

View File

@ -261,7 +261,7 @@ namespace Sieve.Services
{
continue;
}
outerExpression = Expression.And(outerExpression, innerExpression);
outerExpression = Expression.AndAlso(outerExpression, innerExpression);
}
return outerExpression == null
? result