Shared activities were missing the actor

This commit is contained in:
Mikael Nordfeldth 2015-10-13 23:40:35 +02:00
parent 5b307c0417
commit 005c108118

View 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'),