[ActivityPub][Queues] Fix Like

This commit is contained in:
Diogo Cordeiro 2020-08-27 02:12:22 +01:00 committed by Diogo Peralta Cordeiro
parent c834d27dd6
commit 5f35d9633d

View File

@ -173,6 +173,7 @@ class ActivityPubQueueHandler extends QueueHandler
*/
public function onEndFavorNotice(Profile $profile, Notice $notice, $other)
{
$notice = $notice->getParent();
if ($notice->reply_to) {
try {
$parent_notice = $notice->getParent();