]> asedeno.scripts.mit.edu Git - ColorUtils.git/commitdiff
Ignore CC'd personals in when coloring personals.
authorAlejandro R. Sedeño <asedeno@mit.edu>
Sat, 23 May 2009 22:28:18 +0000 (18:28 -0400)
committerAlejandro R. Sedeño <asedeno@mit.edu>
Mon, 9 Nov 2009 22:41:21 +0000 (17:41 -0500)
lib/BarnOwl/Module/ColorUtils.pm

index 88d3c76a527f523ecd96b14209407e3ade164f06..dd8662f36f22de98b9e7d0183aedd9f7334bd6f7 100644 (file)
@@ -173,6 +173,7 @@ sub createFilters($) {
             if ($count) {
                 push(@strs,
                      '( type ^'.$mode2Protocol{$mode}.'$ and ( ( class ^message$ and instance ^personal$ ) or class ^login$ )'
+                     . ' and ( not body ^CC )'
                      . ' and ( sender ^('.$senders.')$ or recipient ^('.$senders.')$ ) )');
             }
         }