mirror of
https://github.com/friendica/friendica
synced 2025-04-27 23:10:12 +00:00
Improved body scanning, increased length
This commit is contained in:
parent
060503eb44
commit
3ce9386cb1
4 changed files with 14 additions and 19 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));
|
||||
|
|
|
@ -1938,7 +1938,7 @@ class Diaspora
|
|||
$datarray["body"] = self::replacePeopleGuid($body, $person["url"]);
|
||||
|
||||
self::storeMentions($datarray['uri-id'], $text);
|
||||
Tag::storeFromBody($datarray['uri-id'], $datarray["body"]);
|
||||
Tag::storeFromBody($datarray['uri-id'], $datarray["body"], '#');
|
||||
|
||||
self::fetchGuid($datarray);
|
||||
|
||||
|
@ -3013,7 +3013,7 @@ class Diaspora
|
|||
$datarray["body"] = self::replacePeopleGuid($body, $contact["url"]);
|
||||
|
||||
self::storeMentions($datarray['uri-id'], $text);
|
||||
Tag::storeFromBody($datarray['uri-id'], $datarray["body"]);
|
||||
Tag::storeFromBody($datarray['uri-id'], $datarray["body"], '#');
|
||||
|
||||
if ($provider_display_name != "") {
|
||||
$datarray["app"] = $provider_display_name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue