]> git.mxchange.org Git - friendica.git/blobdiff - src/DI.php
We now store the receivers as well
[friendica.git] / src / DI.php
index 835f1ffed72619e8412a5a32be08c94527c56475..e34df7b669382deebb3804f8228da7ecc8b42af9 100644 (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
         */