. * * @category Mail * @package StatusNet * @author Evan Prodromou * @author Earle Martin * @copyright 2008-9 StatusNet, Inc. * @license http://www.fsf.org/licensing/licenses/agpl-3.0.html GNU Affero General Public License version 3.0 * @link http://status.net/ */ if (!defined('GNUSOCIAL')) { exit(1); } class TargetedRss10Action extends Rss10Action { protected $target = null; protected function doStreamPreparation() { $this->target = User::getByNickname($this->trimmed('nickname'))->getProfile(); } public function getTarget() { return $this->target; } function getImage() { return $this->target->avatarUrl(AVATAR_PROFILE_SIZE); } }