mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 20:55:55 +00:00
rpc/getAllCounters: include virtual counters when last_article_id is supplied and unchanged
This commit is contained in:
@@ -247,6 +247,8 @@ class RPC extends Handler_Protected {
|
||||
|
||||
if ($last_article_id != getLastArticleId($this->link)) {
|
||||
$reply['counters'] = getAllCounters($this->link);
|
||||
} else {
|
||||
$reply['counters'] = getVirtCounters($this->link);
|
||||
}
|
||||
|
||||
$reply['runtime-info'] = make_runtime_info($this->link);
|
||||
|
||||
Reference in New Issue
Block a user