From: Evan Prodromou Date: Sun, 21 Feb 2010 18:32:24 +0000 (-0500) Subject: correct actor for OStatusPlugin::onEndUnsubscribe() X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=de093537f6c7f3b83817146247fbd9edbed16935;p=quix0rs-gnu-social.git correct actor for OStatusPlugin::onEndUnsubscribe() --- diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index b5cfb5caec..b966661db6 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -294,7 +294,7 @@ class OStatusPlugin extends Plugin $profile->getBestName(), $other->getBestName()); - $act->actor = ActivityObject::fromProfile($subscriber); + $act->actor = ActivityObject::fromProfile($profile); $act->object = ActivityObject::fromProfile($other); $oprofile->notifyActivity($act); @@ -447,8 +447,9 @@ class OStatusPlugin extends Plugin /** * Notify remote users when their notices get de-favorited. * - * @param Profile or User $profile of local user doing the de-faving - * @param Notice $notice being favored + * @param Profile $profile Profile person doing the de-faving + * @param Notice $notice Notice being favored + * * @return hook return value */