mirror of
https://github.com/friendica/friendica
synced 2024-11-19 18:23:41 +00:00
API: Media attachments are now supported
This commit is contained in:
parent
6b12ef14f5
commit
42d246ef73
1 changed files with 8 additions and 0 deletions
|
@ -239,6 +239,14 @@ abstract class DI
|
|||
return self::$dice->create(Factory\Api\Mastodon\Account::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Factory\Api\Mastodon\Attachment
|
||||
*/
|
||||
public static function mstdnAttachment()
|
||||
{
|
||||
return self::$dice->create(Factory\Api\Mastodon\Attachment::class);
|
||||
}
|
||||
|
||||
/**
|
||||
* @return Factory\Api\Mastodon\Emoji
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue