mirror of
https://github.com/friendica/friendica
synced 2025-04-22 17:10:11 +00:00
Issue 8836: Point the event to the local post
This commit is contained in:
parent
5c0e079ca6
commit
77e272e8ed
3 changed files with 3 additions and 5 deletions
|
@ -617,10 +617,8 @@ class Event
|
|||
}
|
||||
|
||||
$author_link = $event['author-link'];
|
||||
$plink = $event['plink'];
|
||||
|
||||
$event['author-link'] = Contact::magicLink($author_link);
|
||||
$event['plink'] = Contact::magicLink($author_link, $plink);
|
||||
|
||||
$html = self::getHTML($event);
|
||||
$event['summary'] = BBCode::convert(Strings::escapeHtml($event['summary']));
|
||||
|
@ -640,7 +638,7 @@ class Event
|
|||
'is_first' => $is_first,
|
||||
'item' => $event,
|
||||
'html' => $html,
|
||||
'plink' => [$event['plink'], DI::l10n()->t('link to source'), '', ''],
|
||||
'plink' => Item::getPlink($event),
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue