mirror of
https://github.com/friendica/friendica
synced 2025-04-26 06:30:11 +00:00
Store implicit mentions
This commit is contained in:
parent
f4543b2cf7
commit
21103a5735
3 changed files with 19 additions and 9 deletions
|
@ -2410,7 +2410,7 @@ class DFRN
|
|||
|
||||
$item['uri-id'] = ItemURI::insert(['uri' => $item['uri'], 'guid' => $item['guid']]);
|
||||
|
||||
Tag::storeFromBody($item['uri-id'], $item["body"], '#');
|
||||
Tag::storeFromBody($item['uri-id'], $item["body"]);
|
||||
|
||||
// We store the data from "dfrn:diaspora_signature" in a different table, this is done in "Item::insert"
|
||||
$dsprsig = XML::unescape(XML::getFirstNodeValue($xpath, "dfrn:diaspora_signature/text()", $entry));
|
||||
|
@ -2466,7 +2466,7 @@ class DFRN
|
|||
|
||||
$item["tag"] .= $termhash . "[url=" . $termurl . "]" . $term . "[/url]";
|
||||
|
||||
Tag::storeByHash($item['uri-id'], $termhash, $term, $termurl);
|
||||
Tag::store($item['uri-id'], Tag::IMPLICIT_MENTION, $term, $termurl);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue