Confirmed users
293
edits
(Filter flags) |
|||
| Line 4: | Line 4: | ||
*Allow filters to specify whether the system should continue to look into other filters that may match. | *Allow filters to specify whether the system should continue to look into other filters that may match. | ||
*Save the filters using Silver's system for javascript object storage. | *Save the filters using Silver's system for javascript object storage. | ||
== Filter properties == | |||
Each filter has rules and actions associated with them. The actions will be executed when all the rules match the message. When there are no rules, the filter always matches. Apart from rules and actions, there are a few flags that can be set on filters: | |||
* Stop processing. This means that if this filter matches, all its actions will be carried out, and then filter processing will stop (meaning, it will not try and use any of the filters after this one). | |||
* Create tabs if necessary. This means that if this filter has an action specified to set a tab to a specific state, or display something on a tab, that the tab that this would happen on will get created if it isn't there yet. If this flag is not specified, the display or set tab state action will go down the list of tabs it gets, and set a tab state or display something on the first tab that does exist. If none of the specified tabs exist, no action will take place. | |||
== Filter rules == | == Filter rules == | ||