mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 05:01:27 +00:00
experimental tweak to not mark articles newer than last one loaded in the buffer as read
This commit is contained in:
@@ -646,8 +646,9 @@ class RPC extends Protected_Handler {
|
||||
function catchupFeed() {
|
||||
$feed_id = db_escape_string($_REQUEST['feed_id']);
|
||||
$is_cat = db_escape_string($_REQUEST['is_cat']) == "true";
|
||||
$max_id = (int) db_escape_string($_REQUEST['max_id']);
|
||||
|
||||
catchup_feed($this->link, $feed_id, $is_cat);
|
||||
catchup_feed($this->link, $feed_id, $is_cat, false, $max_id);
|
||||
|
||||
print json_encode(array("message" => "UPDATE_COUNTERS"));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user