From a881ce23e7e6b931e4fae83e0f5e56408d4e424b Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Tue, 14 Sep 2010 11:02:54 -0400 Subject: [PATCH] note on why we don't use Group_member::asActivity() in OStatusPlugin --- plugins/OStatus/OStatusPlugin.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index b182438dc3..98f18f8338 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -632,6 +632,9 @@ class OStatusPlugin extends Plugin throw new Exception(_m('Could not set up remote group membership.')); } + // NOTE: we don't use Group_member::asActivity() since that record + // has not yet been created. + $member = Profile::staticGet($user->id); $act = new Activity(); -- 2.39.5