Add support to 'ALL' Thunderbird condition
Benjamin Renard

Benjamin Renard commited on 2014-08-25 22:34:38
Showing 1 changed files, with 4 additions and 0 deletions.

... ...
@@ -106,6 +106,10 @@ for f in tbf:
106 106
 			logging.error('Thunderbird filter does not have name ! Pass this filter : %s' % f)
107 107
 			continue
108 108
 		sf['name']=f['name']
109
+
110
+		if f["condition"]=='ALL':
111
+			sf['match']='allmessages'
112
+		else:
109 113
 			fc=thunderbirdFilters.convert_conditions(f["condition"])
110 114
 			bool_ops=[]
111 115
 			sfr=[]
112 116