]> git.mxchange.org Git - friendica.git/commitdiff
Fix: Undefined array key "allow_cid"
authorMichael <heluecht@pirati.ca>
Mon, 15 Apr 2024 03:25:06 +0000 (03:25 +0000)
committerMichael <heluecht@pirati.ca>
Mon, 15 Apr 2024 03:25:06 +0000 (03:25 +0000)
src/Module/Api/Mastodon/Statuses.php

index 9add05376c3a111f4c2e0eaee76510c852a3679b..2c5e706e4712e3d6cc86a223463ffff5e4d311af 100644 (file)
@@ -83,6 +83,10 @@ class Statuses extends BaseApi
                $item['network']    = $post['network'];
                $item['gravity']    = $post['gravity'];
                $item['verb']       = $post['verb'];
+               $item['allow_cid']  = $post['allow_cid'];
+               $item['allow_gid']  = $post['allow_gid'];
+               $item['deny_cid']   = $post['deny_cid'];
+               $item['deny_gid']   = $post['deny_gid'];
                $item['app']        = $this->getApp();
                $item['sensitive']  = $request['sensitive'];