add local flag for stuff posted over the API

darcs-hash:20080727023516-84dde-7ebc4ccc8065dd1df9a414d5c39df70dbfebf487.gz
This commit is contained in:
Evan Prodromou 2008-07-26 22:35:16 -04:00
parent e0e5013a32
commit 2e0b64a9ba
1 changed files with 2 additions and 1 deletions

View File

@ -404,7 +404,8 @@ class TwitapistatusesAction extends TwitterapiAction {
}
$notice->rendered = common_render_content($notice->content, $notice);
$notice->is_local = 1;
$id = $notice->insert();
if (!$id) {