From: Evan Prodromou Date: Tue, 14 Sep 2010 15:02:54 +0000 (-0400) Subject: note on why we don't use Group_member::asActivity() in OStatusPlugin X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a881ce23e7e6b931e4fae83e0f5e56408d4e424b;p=quix0rs-gnu-social.git note on why we don't use Group_member::asActivity() in OStatusPlugin --- 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();