Merge branch 'activityhooks' into 0.9.x

Conflicts:
	classes/Notice.php
This commit is contained in:
Evan Prodromou
2010-08-03 16:01:18 -07:00
5 changed files with 1096 additions and 131 deletions

View File

@@ -956,4 +956,16 @@ class OStatusPlugin extends Plugin
}
return false;
}
public function onStartProfileGetAtomFeed($profile, &$feed)
{
$oprofile = Ostatus_profile::staticGet('profile_id', $profile->id);
if (empty($oprofile)) {
return true;
}
$feed = $oprofile->feeduri;
return false;
}
}