| Index: lib/filterClasses.js |
| =================================================================== |
| --- a/lib/filterClasses.js |
| +++ b/lib/filterClasses.js |
| @@ -57,16 +57,22 @@ |
| * @type {string} |
| */ |
| get type() |
| { |
| throw new Error("Please define filter type in the subclass"); |
| }, |
| /** |
| + * Whether the filter must come from a trusted subscription. |
| + * @type {boolean} |
| + */ |
| + needsTrust: false, |
| + |
| + /** |
| * Serializes the filter to an array of strings for writing out on the disk. |
| * @param {string[]} buffer buffer to push the serialization results into |
| */ |
| serialize(buffer) |
| { |
| buffer.push("[Filter]"); |
| buffer.push("text=" + this.text); |
| }, |