MessageFilter: move decoding to the caller and also check the summary field

This commit is contained in:
Mario
2025-12-19 08:24:22 +00:00
parent 98840ae1d0
commit 87f79381d9
6 changed files with 15 additions and 11 deletions

View File

@@ -174,7 +174,7 @@ class MessageFilterTest extends UnitTestCase {
],
'item.item_thread_top = 1 and item.item_private < 1 in excl encoded' => [
'',
"?item_thread_top == 1 &amp;&amp; ?item_private &lt; 1 ",
html_entity_decode("?item_thread_top == 1 &amp;&amp; ?item_private &lt; 1 "),
false
],
'item.item_thread_top = 1 or item.item_private = 0 in excl' => [