From 005c1081182bfe2b58c0148fb558864dfa548e53 Mon Sep 17 00:00:00 2001 From: Mikael Nordfeldth Date: Tue, 13 Oct 2015 23:40:35 +0200 Subject: [PATCH] Shared activities were missing the actor --- plugins/Share/SharePlugin.php | 1 + 1 file changed, 1 insertion(+) 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'), -- 2.39.5