Notice::getReplies() returns array of profile IDs

This commit is contained in:
Evan Prodromou 2010-02-21 22:34:40 -05:00
parent 79c76f1a87
commit bd21f48cee

View File

@ -201,9 +201,9 @@ class OStatusPlugin extends Plugin
{ {
$mentioned = $notice->getReplies(); $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)) { if (!empty($oprofile) && !empty($oprofile->salmonuri)) {