Make notice auto-update

Shows notices auto-updating
This commit is contained in:
Evan Prodromou
2009-04-26 15:37:00 -04:00
parent ccf45d454c
commit 7dbb5fb8fd
2 changed files with 39 additions and 3 deletions

View File

@@ -126,6 +126,11 @@ class CometPlugin extends Plugin
$act = new TwitterApiAction('/dev/null');
$arr = $act->twitter_status_array($notice, true);
$arr['url'] = $notice->bestUrl();
$profile = $notice->getProfile();
$arr['user']['profile_url'] = $profile->profileurl;
return $arr;
}