X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FShare%2FSharePlugin.php;h=d34bcc779e2b2253efcd5d907270af17e16d0af4;hb=e4a1dff98d6a15c8f513bdb2ef55c699f8e70bcd;hp=84174a0440895d597e657d99f014b04bf66e573b;hpb=5f0412b9ee7d0fb241e72d0fbef4718d4b6e775a;p=quix0rs-gnu-social.git diff --git a/plugins/Share/SharePlugin.php b/plugins/Share/SharePlugin.php index 84174a0440..d34bcc779e 100644 --- a/plugins/Share/SharePlugin.php +++ b/plugins/Share/SharePlugin.php @@ -128,7 +128,6 @@ class SharePlugin extends ActivityVerbHandlerPlugin // Notice::saveActivity it will update the Notice object. $stored->repeat_of = $sharedNotice->getID(); $stored->conversation = $sharedNotice->conversation; - $stored->object_type = ActivityUtils::resolveUri(ActivityObject::ACTIVITY, true); // We don't have to save a repeat in a separate table, we can // find repeats by just looking at the notice.repeat_of field. @@ -171,7 +170,7 @@ class SharePlugin extends ActivityVerbHandlerPlugin $object = new Activity(); $object->actor = $stored->getProfile()->asActivityObject(); $object->verb = ActivityVerb::SHARE; - $object->content = $stored->rendered; + $object->content = $stored->getRendered(); $this->extendActivity($stored, $object); return $object;