Commit 228aa837 authored by Andreas Josephson's avatar Andreas Josephson Committed by Sean McGivern

from_address in ServiceDesk prefers 'from' over 'sender'

parent 9c662234
...@@ -59,7 +59,7 @@ module Gitlab ...@@ -59,7 +59,7 @@ module Gitlab
end end
def from_address def from_address
(mail.reply_to || []).first || mail.sender || mail.from.first (mail.reply_to || []).first || mail.from.first || mail.sender
end end
def issue_title def issue_title
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment