From: Mikael Nordfeldth Date: Tue, 13 Oct 2015 21:40:35 +0000 (+0200) Subject: Shared activities were missing the actor X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=005c1081182bfe2b58c0148fb558864dfa548e53;p=quix0rs-gnu-social.git Shared activities were missing the actor --- diff --git a/plugins/Share/SharePlugin.php b/plugins/Share/SharePlugin.php index 1e6f93dfa1..541d05cd6c 100644 --- a/plugins/Share/SharePlugin.php +++ b/plugins/Share/SharePlugin.php @@ -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'),