mirror of
https://github.com/friendica/friendica
synced 2025-04-25 09:50:11 +00:00
Avoid empty posts on Diaspora
This commit is contained in:
parent
3666742e7b
commit
c840ee82af
4 changed files with 13 additions and 9 deletions
|
@ -1885,7 +1885,7 @@ class OStatus
|
|||
XML::addElement($doc, $entry, "id", $item["uri"]);
|
||||
XML::addElement($doc, $entry, "title", html_entity_decode($title, ENT_QUOTES, 'UTF-8'));
|
||||
|
||||
$body = Post\Media::addAttachmentsToBody($item['uri-id']);
|
||||
$body = Post\Media::addAttachmentsToBody($item['uri-id'], $item['body']);
|
||||
$body = self::formatPicturePost($body);
|
||||
|
||||
if (!empty($item['title'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue