diff options
Diffstat (limited to 'actions/oembed.php')
-rw-r--r-- | actions/oembed.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/actions/oembed.php b/actions/oembed.php index e25e4cb25..da3aa0c71 100644 --- a/actions/oembed.php +++ b/actions/oembed.php @@ -79,11 +79,7 @@ class OembedAction extends Action if (empty($profile)) { $this->serverError(_('Notice has no profile.'), 500); } - if (!empty($profile->fullname)) { - $authorname = $profile->fullname . ' (' . $profile->nickname . ')'; - } else { - $authorname = $profile->nickname; - } + $authorname = $profile->getFancyName(); $oembed['title'] = sprintf(_('%1$s\'s status on %2$s'), $authorname, common_exact_date($notice->created)); |