summaryrefslogtreecommitdiff
path: root/plugins/OStatus/OStatusPlugin.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r--plugins/OStatus/OStatusPlugin.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php
index b5cfb5cae..b966661db 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
*/