mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-24 07:21:28 +00:00
viewfeed: update local db on catchup
This commit is contained in:
@@ -1272,6 +1272,8 @@ function update_local_sync_data() {
|
||||
|
||||
function catchup_local_feed(id, is_cat) {
|
||||
try {
|
||||
if (!db) return;
|
||||
|
||||
if (!is_cat) {
|
||||
if (id >= 0) {
|
||||
db.execute("UPDATE articles SET unread = 0 WHERE feed_id = ?", [id]);
|
||||
|
||||
Reference in New Issue
Block a user