Change this test to test a property.

This commit is contained in:
ccd0 2019-07-12 22:33:46 -07:00
parent 2eefceaebc
commit a650efe9ab
2 changed files with 2 additions and 1 deletions

View File

@ -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

View File

@ -1,6 +1,7 @@
SW.tinyboard =
isOPContainerThread: true
mayLackJSON: true
threadModTimeIgnoresSage: true
disabledFeatures: [
'Index Generator'