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
commit 7fcaa1f239
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

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