]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Shared activities were missing the actor
authorMikael Nordfeldth <mmn@hethane.se>
Tue, 13 Oct 2015 21:40:35 +0000 (23:40 +0200)
committerMikael Nordfeldth <mmn@hethane.se>
Tue, 13 Oct 2015 21:40:35 +0000 (23:40 +0200)
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'),