aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-02-15 09:41:48 +0000
committerMario <mario@mariovavti.com>2023-02-15 09:41:48 +0000
commit1ca988b177834467671137c94f17a5948b465f6f (patch)
tree1250b1704335249bd584d52a714d18a49b705baa /include
parent07fd8cf6cdf070911403338f2013fd6e94c87e61 (diff)
downloadvolse-hubzilla-1ca988b177834467671137c94f17a5948b465f6f.tar.gz
volse-hubzilla-1ca988b177834467671137c94f17a5948b465f6f.tar.bz2
volse-hubzilla-1ca988b177834467671137c94f17a5948b465f6f.zip
revisit author_id and fix issue with pinned content
Diffstat (limited to 'include')
-rw-r--r--include/conversation.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/conversation.php b/include/conversation.php
index caad5bb0e..2f0b6f6fd 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -802,6 +802,7 @@ function conversation($items, $mode, $update, $page_mode = 'traditional', $prepa
'mid' => gen_link_id($item['mid']),
'mids' => json_encode([gen_link_id($item['mid'])]),
'linktitle' => sprintf( t('View %s\'s profile @ %s'), $profile_name, $profile_link),
+ 'author_id' => (($item['author']['xchan_addr']) ? $item['author']['xchan_addr'] : $item['author']['xchan_url']),
'profile_url' => $profile_link,
'thread_action_menu' => thread_action_menu($item,$mode),
'thread_author_menu' => thread_author_menu($item,$mode),