Shared activities were missing the actor
This commit is contained in:
parent
5b307c0417
commit
005c108118
@ -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'),
|
||||
|
Loading…
Reference in New Issue
Block a user