diff options
author | Evan Prodromou <evan@status.net> | 2010-02-21 22:34:40 -0500 |
---|---|---|
committer | Evan Prodromou <evan@status.net> | 2010-02-21 22:34:40 -0500 |
commit | bd21f48ceed83699ca4c4613805b1edc1bf49f8c (patch) | |
tree | 88046f438e26f1192b419e48f4e9d27de750a490 /plugins/OStatus/OStatusPlugin.php | |
parent | 79c76f1a8725125d8b07fefa58485e800745c5ba (diff) |
Notice::getReplies() returns array of profile IDs
Diffstat (limited to 'plugins/OStatus/OStatusPlugin.php')
-rw-r--r-- | plugins/OStatus/OStatusPlugin.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 60bb144a8..fdc07b813 100644 --- a/plugins/OStatus/OStatusPlugin.php +++ b/plugins/OStatus/OStatusPlugin.php @@ -201,9 +201,9 @@ class OStatusPlugin extends Plugin { $mentioned = $notice->getReplies(); - foreach ($mentioned as $profile) { + foreach ($mentioned as $profile_id) { - $oprofile = Ostatus_profile::staticGet('profile_id', $profile->id); + $oprofile = Ostatus_profile::staticGet('profile_id', $profile_id); if (!empty($oprofile) && !empty($oprofile->salmonuri)) { |