]> git.mxchange.org Git - friendica.git/blobdiff - src/Factory/Api/Mastodon/Field.php
API: Counts added, local query improved
[friendica.git] / src / Factory / Api / Mastodon / Field.php
index 6570ab884510919a8b21016e8aafa505febe3529..fdf0a4ef6da478ca0cc523b54503b4e334b37fb2 100644 (file)
@@ -37,7 +37,7 @@ class Field extends BaseFactory
         */
        public function createFromProfileField(ProfileField $profileField)
        {
-               return new \Friendica\Api\Entity\Mastodon\Field($profileField->label, BBCode::convert($profileField->value, false, 9));
+               return new \Friendica\Api\Entity\Mastodon\Field($profileField->label, BBCode::convert($profileField->value, false, BBCode::ACTIVITYPUB));
        }
 
        /**