Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
From: Matti Eiden <snaipperi@gmail.com>
To: sup-talk <sup-talk@rubyforge.org>
Subject: Re: [sup-talk] Hook for in-reply-to
Date: Fri, 17 Dec 2010 21:04:27 +0200	[thread overview]
Message-ID: <AANLkTi=24+QodANv51K=BzXkJJNRihvvM1HQa_zwQpWd@mail.gmail.com> (raw)
In-Reply-To: <1292596203-sup-4988@pinkfloyd.chass.utoronto.ca>

For anyone concerned, here's what worked for me. It was important to
delete the reference too, which included the same thing, as I guess
the threading function of sup automatically sets the reference to
in-reply-to if it's missing.

Here's also the original bug report at Moodle;
http://tracker.moodle.org/browse/MDL-22551

Thanks Ben for pointing me in the right direction.


##hooks/before-add-message.rb

fail_replyto = "moodlepost0@moodle.tamk.fi"
if message.replytos.include?(fail_replyto)
  message.replytos.delete(fail_replyto)
end

if message.refs.include?(fail_replyto)
  message.refs.delete(fail_replyto)
end
_______________________________________________
sup-talk mailing list
sup-talk@rubyforge.org
http://rubyforge.org/mailman/listinfo/sup-talk


  reply	other threads:[~2010-12-17 19:26 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-12-17 14:03 Matti Eiden
2010-12-17 14:30 ` Ben Walton
2010-12-17 19:04   ` Matti Eiden [this message]
2010-12-18 14:39     ` Johann Klähn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='AANLkTi=24+QodANv51K=BzXkJJNRihvvM1HQa_zwQpWd@mail.gmail.com' \
    --to=snaipperi@gmail.com \
    --cc=sup-talk@rubyforge.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox