mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 16:21:18 +08:00
FEATURE: Show an email icon beside posts that arrived via email
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user