mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-09 00:24:29 +02:00
Avoid empty posts on Diaspora
This commit is contained in:
parent
3666742e7b
commit
c840ee82af
4 changed files with 13 additions and 9 deletions
|
@ -899,7 +899,7 @@ class DFRN
|
|||
$entry->setAttribute("xmlns:statusnet", ActivityNamespace::STATUSNET);
|
||||
}
|
||||
|
||||
$body = Post\Media::addAttachmentsToBody($item['uri-id']);
|
||||
$body = Post\Media::addAttachmentsToBody($item['uri-id'], $item['body']);
|
||||
|
||||
if ($item['private'] == Item::PRIVATE) {
|
||||
$body = Item::fixPrivatePhotos($body, $owner['uid'], $item, $cid);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue