]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
E-mail should contain full acct uri too (FancyName)
authorMikael Nordfeldth <mmn@hethane.se>
Thu, 6 Apr 2017 11:23:33 +0000 (13:23 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Thu, 6 Apr 2017 11:23:33 +0000 (13:23 +0200)
lib/mail.php

index 428f87638308928d3baa473196077caa420dbd14..497637eb444b9379125406f212213f2193728a4e 100644 (file)
@@ -199,8 +199,7 @@ function mail_subscribe_notify_profile($listenee, $other)
 
         $name = $profile->getBestName();
 
-        $long_name = ($other->fullname) ?
-          ($other->fullname . ' (' . $other->nickname . ')') : $other->nickname;
+        $long_name = $other->getFancyName();
 
         $recipients = $listenee->email;