[ActivityPub][Queues] Fix Like

This commit is contained in:
Diogo Cordeiro 2020-08-27 02:12:22 +01:00
parent ef6a986dc6
commit 101ea554ef

View File

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