Add support to 'to or cc' Thunderbird condition field
Benjamin Renard

Benjamin Renard commited on 2014-08-25 22:37:09
Showing 1 changed files, with 2 additions and 0 deletions.

... ...
@@ -126,6 +126,8 @@ for f in tbf:
126 126
 					raise Exception('Condition operator "%s" not recognized. Pass' % c['cri_operator'])
127 127
 				if c['cri_operand'] in ['subject','to','from']:
128 128
 					r['field']=c['cri_operand']
129
+				elif c['cri_operand']=='to or cc':
130
+					r['field']='to_or_cc'
129 131
 				elif c['cri_operand']=='cc':
130 132
 					r['field']='to_or_cc'
131 133
 					if not options.dontwarncc:
132 134