API: We can now display polls

This commit is contained in:
Michael 2022-04-22 19:24:22 +00:00
commit 9b646dad97
10 changed files with 245 additions and 7 deletions

View file

@ -326,6 +326,14 @@ abstract class DI
return self::$dice->create(Factory\Api\Mastodon\FollowRequest::class);
}
/**
* @return Factory\Api\Mastodon\Poll
*/
public static function mstdnPoll()
{
return self::$dice->create(Factory\Api\Mastodon\Poll::class);
}
/**
* @return Factory\Api\Mastodon\Relationship
*/