FEATURE: show raw email for replies/topics created via email

This commit is contained in:
Arpit Jalan
2014-10-16 11:38:02 +05:30
parent ab9a0235b4
commit 2131a37811
13 changed files with 60 additions and 4 deletions

View File

@ -223,7 +223,7 @@ class PostCreator
reply_to_post_number: @opts[:reply_to_post_number])
# Attributes we pass through to the post instance if present
[:post_type, :no_bump, :cooking_options, :image_sizes, :acting_user, :invalidate_oneboxes, :cook_method, :via_email].each do |a|
[:post_type, :no_bump, :cooking_options, :image_sizes, :acting_user, :invalidate_oneboxes, :cook_method, :via_email, :raw_email].each do |a|
post.send("#{a}=", @opts[a]) if @opts[a].present?
end