[sup-talk] [PATCH] Fix for before-add-message hook

Marcus Williams marcus-sup at bar-coded.net
Wed Nov 7 11:34:32 EST 2007


On 7.11.2007, Marcus Williams wrote:
> It might not be related to this change, but I'd not noticed it until
> just now. I'll see if I can reproduce it somehow.

Got it - in is_relevant you changed the patch to use "&&" instead of
"and" and I think this broke it because of the precedence of "&&"
makes it do

m.labels.include? (:inbox && ......)

whereas mine does

(m.labels.include? :inbox) and (......)

reverting back to "and" fixes it in my version.

Marcus


More information about the sup-talk mailing list