API: We can now display polls
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user