mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-04-04 11:10:04 -04:00
just use the address instead of building it ourselves
This commit is contained in:
parent
9435dd777f
commit
ca529a673a
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ module Email
|
|||
raise BadDestinationAddress if dest_infos.empty?
|
||||
|
||||
from = @message[:from].address_list.addresses.first
|
||||
user_email = "#{from.local}@#{from.domain}"
|
||||
user_email = from.address
|
||||
user_name = from.display_name
|
||||
|
||||
# TODO: deal with suspended/inactive users
|
||||
|
|
Loading…
Add table
Reference in a new issue