mirror of
https://github.com/friendica/friendica
synced 2025-04-28 03:50:17 +00:00
Hashtag handling with Diaspora improved
This commit is contained in:
parent
98b3058601
commit
538e212a84
4 changed files with 41 additions and 4 deletions
|
@ -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::storeRawTagsFromBody($datarray['uri-id'], $datarray["body"]);
|
||||
|
||||
self::fetchGuid($datarray);
|
||||
|
||||
|
@ -3015,7 +3015,7 @@ class Diaspora
|
|||
$datarray["body"] = self::replacePeopleGuid($body, $contact["url"]);
|
||||
|
||||
self::storeMentions($datarray['uri-id'], $text);
|
||||
Tag::storeFromBody($datarray['uri-id'], $datarray["body"], '#');
|
||||
Tag::storeRawTagsFromBody($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