From 1b3021d61c92d5f52772f159174f5de1a94c5d18 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Thu, 6 Apr 2017 13:23:33 +0200 Subject: [PATCH] E-mail should contain full acct uri too (FancyName) --- lib/mail.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;