mirror of
https://github.com/friendica/friendica
synced 2024-11-10 09:02:53 +00:00
Simplify sender handle assignment in Model\Mail
This commit is contained in:
parent
2c2db55298
commit
0b38826a73
1 changed files with 1 additions and 4 deletions
|
@ -276,10 +276,7 @@ class Mail
|
|||
|
||||
$recip_handle = $recipient['nickname'] . '@' . substr(DI::baseUrl(), strpos(DI::baseUrl(), '://') + 3);
|
||||
|
||||
$sender_nick = basename($me['url']);
|
||||
$sender_host = substr($me['url'], strpos($me['url'], '://') + 3);
|
||||
$sender_host = substr($sender_host, 0, strpos($sender_host, '/'));
|
||||
$sender_handle = $sender_nick . '@' . $sender_host;
|
||||
$sender_handle = $me['addr'];
|
||||
|
||||
$handles = $recip_handle . ';' . $sender_handle;
|
||||
|
||||
|
|
Loading…
Reference in a new issue