diff options
author | zach <zach@copley.name> | 2008-08-08 20:12:40 -0400 |
---|---|---|
committer | zach <zach@copley.name> | 2008-08-08 20:12:40 -0400 |
commit | 37a47f3d57dd66ecc9779aeb77da04cd81308e2b (patch) | |
tree | 02b982ef428079df5734ef2f82dd3524172a3d77 /lib/twitterapi.php | |
parent | 3a124c5f53810d9a4a943e8c1a6d7b9e513eedbb (diff) |
Twitter-compatible API: filled in the source attr for notices accessed via API
darcs-hash:20080809001240-ca946-0a8ec8b965876e1da90c675ad596b32906a21d93.gz
Diffstat (limited to 'lib/twitterapi.php')
-rw-r--r-- | lib/twitterapi.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/twitterapi.php b/lib/twitterapi.php index fb3a5aded..30d5bba23 100644 --- a/lib/twitterapi.php +++ b/lib/twitterapi.php @@ -61,7 +61,7 @@ class TwitterapiAction extends Action { $twitter_status['truncated'] = 'false'; # Not possible on Laconica $twitter_status['created_at'] = $this->date_twitter($notice->created); $twitter_status['in_reply_to_status_id'] = ($notice->reply_to) ? intval($notice->reply_to) : NULL; - $twitter_status['source'] = NULL; # XXX: twitterific, twitterfox, etc. Not supported yet. + $twitter_status['source'] = $notice->source; $twitter_status['id'] = intval($notice->id); $twitter_status['in_reply_to_user_id'] = ($notice->reply_to) ? $this->replier_by_reply(intval($notice->reply_to)) : NULL; $twitter_status['favorited'] = NULL; # XXX: Not implemented on Laconica yet. |