[sup-talk] Spam hooks.
Marcus Williams
marcus-sup at bar-coded.net
Thu Apr 10 07:04:32 EDT 2008
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
More information about the sup-talk
mailing list