Merge pull request #9521 from annando/issue-9520

Issue 9520: Fix resharer hovercard
This commit is contained in:
Hypolite Petovan
2020-11-10 15:07:01 -05:00
committed by GitHub

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'];