]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/Share/SharePlugin.php
Shared activities were missing the actor
[quix0rs-gnu-social.git] / plugins / Share / SharePlugin.php
index 1e6f93dfa1fc31b63dfdc9b5c610a86282e6c28b..541d05cd6cfdcd2548b7b551a67545e63e7f2cc8 100644 (file)
@@ -162,6 +162,7 @@ class SharePlugin extends ActivityVerbHandlerPlugin
     {
         // TODO: How to handle repeats of deleted notices?
         $target = Notice::getByID($stored->repeat_of);
+        $act->actor = $target->getProfile()->asActivityObject();
         // TRANS: A repeat activity's title. %1$s is repeater's nickname
         //        and %2$s is the repeated user's nickname.
         $act->title = sprintf(_('%1$s repeated a notice by %2$s'),