forked from GNUsocial/gnu-social
remember to broadcast in api, and also use the right ID
darcs-hash:20080730030012-84dde-9ceea12e90a4b4b4bbe35cb6cb50b6bcbb6085b7.gz
This commit is contained in:
parent
c21ed78fa7
commit
e998cc3960
@ -409,13 +409,15 @@ class TwitapistatusesAction extends TwitterapiAction {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
common_broadcast_notice($notice);
|
||||||
|
|
||||||
// FIXME: Bad Hack
|
// FIXME: Bad Hack
|
||||||
// I should be able to just sent this notice off for display,
|
// I should be able to just sent this notice off for display,
|
||||||
// but $notice->created does not contain a string at this
|
// but $notice->created does not contain a string at this
|
||||||
// point and I don't know how to convert it to one here. So
|
// 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
|
// I'm forced to have DBObject pull the notice back out of the
|
||||||
// DB before printing. --Zach
|
// DB before printing. --Zach
|
||||||
$apidata['api_arg'] = $id;
|
$apidata['api_arg'] = $notice->id;
|
||||||
$this->show($args, $apidata);
|
$this->show($args, $apidata);
|
||||||
|
|
||||||
exit();
|
exit();
|
||||||
|
Loading…
Reference in New Issue
Block a user