diff options
author | Louise Crow <louise.crow@gmail.com> | 2012-12-03 17:52:33 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2012-12-03 17:52:33 +0000 |
commit | f296a8207cb966aeb7962f3b37a00ae3ca0504be (patch) | |
tree | 1fb7a0d82020a00fdce2352b3c65179dfd35acff | |
parent | bfb3fe634d8719336a40f1105d322ae2e9c2d0ad (diff) |
Delegate getting the from address to the mail handler.
-rw-r--r-- | app/models/incoming_message.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/incoming_message.rb b/app/models/incoming_message.rb index d11e3c9a7..01bb675de 100644 --- a/app/models/incoming_message.rb +++ b/app/models/incoming_message.rb @@ -79,7 +79,7 @@ class IncomingMessage < ActiveRecord::Base end def from_email - self.mail.from_addrs[0].spec + MailHandler.get_from_address(self.mail) end def addresses |