]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Notice::getReplies() returns array of profile IDs
authorEvan Prodromou <evan@status.net>
Mon, 22 Feb 2010 03:34:40 +0000 (22:34 -0500)
committerEvan Prodromou <evan@status.net>
Mon, 22 Feb 2010 03:34:40 +0000 (22:34 -0500)
plugins/OStatus/OStatusPlugin.php

index 60bb144a830c09f7343a03ba6cf02fcab0be0e72..fdc07b813f4b99335c367d5a2d0c6a3d905c876d 100644 (file)
@@ -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)) {