mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-08 15:14:27 +02:00
More functions moved to content class
This commit is contained in:
parent
c65fff6f93
commit
deccea0228
10 changed files with 113 additions and 59 deletions
|
@ -830,7 +830,7 @@ class Processor
|
|||
if (!empty($activity['source'])) {
|
||||
$item['body'] = $activity['source'];
|
||||
$item['raw-body'] = $content;
|
||||
$item['body'] = Item::improveSharedDataInBody($item);
|
||||
$item['body'] = DI::contentItem()->improveSharedDataInBody($item);
|
||||
} else {
|
||||
$parent_uri = $item['parent-uri'] ?? $item['thr-parent'];
|
||||
if (empty($activity['directmessage']) && ($parent_uri != $item['uri']) && ($item['gravity'] == Item::GRAVITY_COMMENT)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue