A list of server-side functions for weekend/novice Discourse developers?

Hi Falco,

OK, byebug was very useful in telling me that I definitely need to know the function.

I did this:

  if allow_reply_by_email?
    result['X-Discourse-Reply-Key'] = reply_key
byebug
    result['Reply-To'] = "test1@test.com"
    result['CC'] = reply_by_email_address

and then typed in var all from sidekiq. This shows all of the variables, and @opts seemed the relevant one. However, it does not contain anything like the sender’s email address, though it does contain post id (14). I think the way to pull this is to:

  1. Ask what the user who posted post_id 14
  2. Ask what the email address of that user is
  3. Export it as a variable.

Which brings me back to the original point that I have to figure out what function can do this…