note on why we don't use Group_member::asActivity() in OStatusPlugin

This commit is contained in:
Evan Prodromou 2010-09-14 11:02:54 -04:00
parent 43ad609600
commit a881ce23e7
1 changed files with 3 additions and 0 deletions

View File

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