summaryrefslogtreecommitdiff
path: root/classes/api.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2015-08-05 10:13:30 +0300
committerAndrew Dolgov <[email protected]>2015-08-05 10:13:30 +0300
commit0bd172cd6a6f8ddad4aea1b18fe6d2b1e27f8690 (patch)
treeda271d8aee3222ea8918547572ab4fa93be61a74 /classes/api.php
parent332ff5cfb8e52bb9a9f12a0d535c0f0c5e30397a (diff)
experimental: if using adaptive/unread mode w/ auto catchup don't calculate offsets because we're only interested in top $limit headlines anyway
Diffstat (limited to 'classes/api.php')
-rw-r--r--classes/api.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/classes/api.php b/classes/api.php
index 08c1846d2..2d420e527 100644
--- a/classes/api.php
+++ b/classes/api.php
@@ -686,7 +686,8 @@ class API extends Handler {
"offset" => $offset,
"since_id" => $since_id,
"include_children" => $include_nested,
- "check_first_id" => $check_first_id
+ "check_first_id" => $check_first_id,
+ "api_request" => true
);
$qfh_ret = queryFeedHeadlines($params);