diff --git a/lib/mail.php b/lib/mail.php index 428f876383..497637eb44 100644 --- a/lib/mail.php +++ b/lib/mail.php @@ -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;