mirror of
https://github.com/friendica/friendica
synced 2025-04-25 20:30:11 +00:00
Use already fetched data for magiclink
This commit is contained in:
parent
183c8fd7e2
commit
717ca0b7eb
5 changed files with 56 additions and 19 deletions
|
@ -237,7 +237,9 @@ class Term
|
|||
|
||||
$orig_tag = $tag["url"];
|
||||
|
||||
$tag["url"] = Contact::magicLinkById($item['author-id'], $tag['url']);
|
||||
$author = ['uid' => 0, 'id' => $item['author-id'],
|
||||
'network' => $item['author-network'], 'url' => $item['author-link']];
|
||||
$tag["url"] = Contact::magicLinkByContact($author, $tag['url']);
|
||||
|
||||
if ($tag["type"] == TERM_HASHTAG) {
|
||||
if ($orig_tag != $tag["url"]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue