forked from GNUsocial/gnu-social
FavorAction now uses Notice::saveActivity
This commit is contained in:
@@ -1044,7 +1044,7 @@ class OStatusPlugin extends Plugin
|
||||
$notice->getUrl());
|
||||
|
||||
$act->actor = $profile->asActivityObject();
|
||||
$act->object = ActivityObject::fromNotice($notice);
|
||||
$act->object = $notice->asActivityObject();
|
||||
|
||||
$oprofile->notifyActivity($act, $profile);
|
||||
|
||||
|
Reference in New Issue
Block a user