mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-12 11:28:49 +00:00
Twitter: Attachments are stripped from the body / Posting connectors: Add attachments to the body
This commit is contained in:
parent
f0d88c6370
commit
85554bb6fd
9 changed files with 56 additions and 79 deletions
|
@ -436,6 +436,8 @@ function pumpio_send(App $a, array &$b)
|
|||
|
||||
Logger::log("pumpio_send: parameter ".print_r($b, true), Logger::DATA);
|
||||
|
||||
$b['body'] = Post\Media::addAttachmentsToBody($b['uri-id'], $b['body']);
|
||||
|
||||
if ($b['parent'] != $b['id']) {
|
||||
// Looking if its a reply to a pumpio post
|
||||
$condition = ['id' => $b['parent'], 'network' => Protocol::PUMPIO];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue