On 10.4.2008, I wrote: > On 9.4.2008, Richard Heycock wrote: > > That would be great. I just need the basic idea and I should be able > > to take it form there. > > ... patch is winging its way to sup-talk as I write this. Its against > next but it should patch cleanly against master. Some quick pointers > for the mark-as-spam.rb:
Note that perhaps I should also add that this hook gets run on "toggle" of the spam flag. So you probably want to check which way its been toggled by looking for the :spam flag in the labels set if you want to be extra careful. I think you can probably just use the thread object's labels to do this. Marcus _______________________________________________ sup-talk mailing list [email protected] http://rubyforge.org/mailman/listinfo/sup-talk
