Patch #237 ยป journal-from-mail-handler.patch
| app/models/mail_handler.rb (working copy) | ||
|---|---|---|
|
return unless user.allowed_to?(:add_issue_notes, issue.project)
|
||
|
|
||
|
# add the note
|
||
|
issue.init_journal(user, email.body.chomp)
|
||
|
issue.save
|
||
|
journal = issue.init_journal(user, email.body.chomp)
|
||
|
return journal if issue.save
|
||
|
end
|
||
|
end
|
||