Project

General

Profile

Patch #237 ยป journal-from-mail-handler.patch

Nobuhiro IMAI, 2008-02-03 11:01

View differences:

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
    (1-1/1)