FEATURE: Show an email icon beside posts that arrived via email

This commit is contained in:
Robin Ward
2014-09-04 13:04:22 -04:00
parent e182604c50
commit 1c5e8efa68
8 changed files with 29 additions and 4 deletions

View File

@ -241,6 +241,9 @@ module Email
end
def create_post(user, options)
# Mark the reply as incoming via email
options[:via_email] = true
creator = PostCreator.new(user, options)
post = creator.create