From 93fc37956b0cc8349b9a97c0f82b09a55bdf8ecd Mon Sep 17 00:00:00 2001 From: ccd0 Date: Tue, 10 Mar 2015 22:51:40 -0700 Subject: [PATCH] The JSON archived property issue seems to be fixed. --- src/Monitoring/ThreadUpdater.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Monitoring/ThreadUpdater.coffee b/src/Monitoring/ThreadUpdater.coffee index e6f522149..f0a7655f1 100755 --- a/src/Monitoring/ThreadUpdater.coffee +++ b/src/Monitoring/ThreadUpdater.coffee @@ -271,8 +271,7 @@ ThreadUpdater = new Date(req.getResponseHeader('Last-Modified')) - thread.posts[lastPost].info.date < 30 * $.SECOND Build.spoilerRange[board] = OP.custom_spoiler - # XXX Some threads such as /g/'s sticky https://a.4cdn.org/g/thread/39894014.json still use a string as the archived property. - thread.setStatus 'Archived', !!+OP.archived + thread.setStatus 'Archived', !!OP.archived ThreadUpdater.updateThreadStatus 'Sticky', !!OP.sticky ThreadUpdater.updateThreadStatus 'Closed', !!OP.closed thread.postLimit = !!OP.bumplimit