aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index 20baf7dc5..78b3987a3 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -208,8 +208,11 @@ function conversation(&$a, $items, $mode, $update) {
}
else
$nickname = $a->user['nickname'];
+
$profile_name = ((strlen($item['author-name'])) ? $item['author-name'] : $item['name']);
+ if($author-link && (! $author-name))
+ $profile-name = $author-link;
$sp = false;
$profile_link = best_link_url($item,$sp);