Diaspora: Photos are now transmitted separately

This commit is contained in:
Michael 2023-01-07 15:11:34 +00:00
parent 9a1a406c03
commit d86045058e
4 changed files with 50 additions and 1 deletions

View file

@ -1707,6 +1707,7 @@ class Transmitter
$language = self::getLanguage($item);
if (!empty($language)) {
$richbody = BBCode::setMentionsToNicknames($item['body'] ?? '');
$richbody = Post\Media::removeFromEndOfBody($richbody);
if (!empty($item['quote-uri-id'])) {
if ($real_quote) {
$richbody = DI::contentItem()->addShareLink($richbody, $item['quote-uri-id']);