From a650efe9ab4f55d0eee0d649a422e1d1deac6f16 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 12 Jul 2019 22:33:46 -0700 Subject: [PATCH] Change this test to test a property. --- src/Monitoring/ThreadWatcher.coffee | 2 +- src/site/SW.tinyboard.coffee | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Monitoring/ThreadWatcher.coffee b/src/Monitoring/ThreadWatcher.coffee index 9e6968b5b..5f6ccbb29 100644 --- a/src/Monitoring/ThreadWatcher.coffee +++ b/src/Monitoring/ThreadWatcher.coffee @@ -267,7 +267,7 @@ ThreadWatcher = {siteID, boardID} = board[0] site = g.sites[siteID] return unless site - urlF = if deep and site.software is 'tinyboard' then 'catalogJSON' else 'threadsListJSON' + urlF = if deep and site.threadModTimeIgnoresSage then 'catalogJSON' else 'threadsListJSON' url = site.urls[urlF]?({siteID, boardID}) return unless url ThreadWatcher.fetch url, {siteID, force}, [board, url], ThreadWatcher.parseBoard diff --git a/src/site/SW.tinyboard.coffee b/src/site/SW.tinyboard.coffee index 1a95c8ea5..68103f82c 100644 --- a/src/site/SW.tinyboard.coffee +++ b/src/site/SW.tinyboard.coffee @@ -1,6 +1,7 @@ SW.tinyboard = isOPContainerThread: true mayLackJSON: true + threadModTimeIgnoresSage: true disabledFeatures: [ 'Index Generator'