Issue 9520: Fix resharer hovercard

This commit is contained in:
Michael 2020-11-10 19:43:12 +00:00
parent 978208baa3
commit 553369d8b5

View file

@ -756,6 +756,7 @@ function conversation_fetch_comments($thread_items, $pinned, $causer) {
break;
case Item::PT_ANNOUNCEMENT:
if (!empty($row['causer-id']) && DI::pConfig()->get(local_user(), 'system', 'display_resharer')) {
$row['owner-id'] = $row['causer-id'];
$row['owner-link'] = $row['causer-link'];
$row['owner-avatar'] = $row['causer-avatar'];
$row['owner-name'] = $row['causer-name'];