FavorAction now uses Notice::saveActivity

This commit is contained in:
Mikael Nordfeldth
2014-07-05 23:39:17 +02:00
parent aa33b7f21c
commit fffacaa27c
9 changed files with 166 additions and 187 deletions

View File

@@ -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);