mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-13 03:48: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
|
@ -16,6 +16,7 @@ use Friendica\Core\Logger;
|
|||
use Friendica\Core\Renderer;
|
||||
use Friendica\Database\DBA;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Post;
|
||||
use Friendica\Model\Tag;
|
||||
use Friendica\Util\Strings;
|
||||
|
||||
|
@ -366,6 +367,8 @@ function tumblr_send(App $a, array &$b) {
|
|||
return;
|
||||
}
|
||||
|
||||
$b['body'] = Post\Media::addAttachmentsToBody($b['uri-id'], $b['body']);
|
||||
|
||||
$oauth_token = DI::pConfig()->get($b['uid'], "tumblr", "oauth_token");
|
||||
$oauth_token_secret = DI::pConfig()->get($b['uid'], "tumblr", "oauth_token_secret");
|
||||
$page = DI::pConfig()->get($b['uid'], "tumblr", "page");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue