diff options
author | Evan Prodromou <evan@status.net> | 2010-09-14 11:02:54 -0400 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-09-14 11:02:54 -0400 |
commit | a881ce23e7e6b931e4fae83e0f5e56408d4e424b (patch) | |
tree | 5b856840306117becdd5df4728d21e726e40f571 /plugins/OStatus | |
parent | 43ad609600f8374e923579c5f3dc6b28a92b1c7c (diff) |
note on why we don't use Group_member::asActivity() in OStatusPlugin
Diffstat (limited to 'plugins/OStatus')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index b182438dc..98f18f833 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(); |