diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-04-26 15:37:00 -0400 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-04-26 15:37:00 -0400 |
commit | 7dbb5fb8fdf7c4f82c212863a17793a50f887f58 (patch) | |
tree | f22c787a7ec8093c240901c40714209a869557b5 /plugins/Comet/CometPlugin.php | |
parent | ccf45d454c68f7f667d07e0db608569e049ec285 (diff) |
Make notice auto-update
Shows notices auto-updating
Diffstat (limited to 'plugins/Comet/CometPlugin.php')
-rw-r--r-- | plugins/Comet/CometPlugin.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/Comet/CometPlugin.php b/plugins/Comet/CometPlugin.php index f60d40075..a7a4f4b23 100644 --- a/plugins/Comet/CometPlugin.php +++ b/plugins/Comet/CometPlugin.php @@ -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; } |