From: Evan Prodromou Date: Mon, 22 Feb 2010 03:34:40 +0000 (-0500) Subject: Notice::getReplies() returns array of profile IDs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bd21f48ceed83699ca4c4613805b1edc1bf49f8c;p=quix0rs-gnu-social.git Notice::getReplies() returns array of profile IDs --- diff --git a/plugins/OStatus/OStatusPlugin.php b/plugins/OStatus/OStatusPlugin.php index 60bb144a83..fdc07b813f 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)) {