diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-29 23:00:12 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-29 23:00:12 -0400 |
commit | e998cc3960fd4a0cd6df9b21500f0272d5c5eb66 (patch) | |
tree | 002c4b713d6c2ee86fd3c3003ec597c261d053a8 | |
parent | c21ed78fa7a8a0005b0f11e9d4fc5b218f7aaf1f (diff) |
remember to broadcast in api, and also use the right ID
darcs-hash:20080730030012-84dde-9ceea12e90a4b4b4bbe35cb6cb50b6bcbb6085b7.gz
-rw-r--r-- | actions/twitapistatuses.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actions/twitapistatuses.php b/actions/twitapistatuses.php index f791a0cc8..a1e1545f8 100644 --- a/actions/twitapistatuses.php +++ b/actions/twitapistatuses.php @@ -408,6 +408,8 @@ class TwitapistatusesAction extends TwitterapiAction { $this->server_error($notice); return; } + + common_broadcast_notice($notice); // FIXME: Bad Hack // I should be able to just sent this notice off for display, @@ -415,7 +417,7 @@ class TwitapistatusesAction extends TwitterapiAction { // point and I don't know how to convert it to one here. So // I'm forced to have DBObject pull the notice back out of the // DB before printing. --Zach - $apidata['api_arg'] = $id; + $apidata['api_arg'] = $notice->id; $this->show($args, $apidata); exit(); |