diff options
author | Zach Copley <zach@status.net> | 2010-03-22 21:48:21 -0700 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-03-22 21:48:21 -0700 |
commit | 5b0b6097e0e47c84c2e47c8a14421a58be1fac19 (patch) | |
tree | 60d794e61c37af2c9dceab8e824cb2acaf6843df /plugins | |
parent | b8e97ac7098783f0380c7f8f61c20a100e814dc0 (diff) |
Fix reference. Look at the first ActivityObject in the list.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/OStatus/classes/Ostatus_profile.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/OStatus/classes/Ostatus_profile.php b/plugins/OStatus/classes/Ostatus_profile.php index df937643b..c7e3b0509 100644 --- a/plugins/OStatus/classes/Ostatus_profile.php +++ b/plugins/OStatus/classes/Ostatus_profile.php @@ -442,7 +442,8 @@ class Ostatus_profile extends Memcached_DataObject { $activity = new Activity($entry, $feed); - switch ($activity->object->type) { + // @todo process all activity objects + switch ($activity->objects[0]->type) { case ActivityObject::ARTICLE: case ActivityObject::BLOGENTRY: case ActivityObject::NOTE: |