]> git.mxchange.org Git - friendica.git/blobdiff - src/Model/Mail.php
Meaningful notification message
[friendica.git] / src / Model / Mail.php
index 7b18ac3c3144f8507150d9af63a2d0336fec6335..7eaeb09b5e6ba85b6866a84bd8f56f0c13869f37 100644 (file)
@@ -173,7 +173,7 @@ class Mail
                        $recip_host = substr($recip_host, 0, strpos($recip_host, '/'));
 
                        $recip_handle = (($contact['addr']) ? $contact['addr'] : $contact['nick'] . '@' . $recip_host);
-                       $sender_handle = $a->getUserNickname() . '@' . substr(DI::baseUrl(), strpos(DI::baseUrl(), '://') + 3);
+                       $sender_handle = $a->getLoggedInUserNickname() . '@' . substr(DI::baseUrl(), strpos(DI::baseUrl(), '://') + 3);
 
                        $conv_guid = System::createUUID();
                        $convuri = $recip_handle . ':' . $conv_guid;