]> git.mxchange.org Git - friendica.git/commitdiff
Exchange Sender: and From: headers in mod/invite
authorHypolite Petovan <mrpetovan@gmail.com>
Sat, 7 Apr 2018 06:26:33 +0000 (02:26 -0400)
committerHypolite Petovan <mrpetovan@gmail.com>
Sat, 7 Apr 2018 06:26:33 +0000 (02:26 -0400)
mod/invite.php

index 03330f32cf4a9f7d072e0494c5162a0032b62f40..6807ff2c12e034bb8084fae928bd9a25f7c2bb09 100644 (file)
@@ -77,8 +77,8 @@ function invite_post(App $a)
                        $nmessage = $message;
                }
 
-               $additional_headers = 'From: ' . $a->getSenderEmailAddress() . "\n"
-                       . 'Sender: ' . $a->user['email'] . "\n"
+               $additional_headers = 'From: ' . $a->user['email'] . "\n"
+                       . 'Sender: ' . $a->getSenderEmailAddress() . "\n"
                        . 'Content-type: text/plain; charset=UTF-8' . "\n"
                        . 'Content-transfer-encoding: 8bit';