mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +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
|
@ -481,6 +481,8 @@ function statusnet_post_hook(App $a, &$b)
|
|||
return;
|
||||
}
|
||||
|
||||
$b['body'] = Post\Media::addAttachmentsToBody($b['uri-id'], $b['body']);
|
||||
|
||||
$api = DI::pConfig()->get($b["uid"], 'statusnet', 'baseapi');
|
||||
$hostname = preg_replace("=https?://([\w\.]*)/.*=ism", "$1", $api);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue