aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filtertypes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'filter/filtertypes.xml')
-rw-r--r--filter/filtertypes.xml19
1 files changed, 19 insertions, 0 deletions
diff --git a/filter/filtertypes.xml b/filter/filtertypes.xml
index 7b168afe8c..aa2b9bbbfa 100644
--- a/filter/filtertypes.xml
+++ b/filter/filtertypes.xml
@@ -533,6 +533,25 @@
<input type="regex" name="expression"/>
</part>
+ <part name="source">
+ <title>Source Account</title>
+ <input type="optionlist" name="srcmatch-type">
+ <option value="is">
+ <title>Is</title>
+ <code>
+ (match-all (= (get-source) ${uri}))
+ </code>
+ </option>
+ <option value="is-not">
+ <title>Is Not</title>
+ <code>
+ (match-all (not (= (get-source) ${uri})))
+ </code>
+ </option>
+ </input>
+ <input type="source" name="uri"/>
+ </part>
+
</partset>