diff --git a/src/Monitoring/ThreadUpdater.coffee b/src/Monitoring/ThreadUpdater.coffee index 5130262c4..815bc0c67 100755 --- a/src/Monitoring/ThreadUpdater.coffee +++ b/src/Monitoring/ThreadUpdater.coffee @@ -132,7 +132,8 @@ ThreadUpdater = switch req.status when 200 ThreadUpdater.parse req.response.posts - if !!req.response.posts[0].archived + # XXX Some threads such as /g/'s sticky https://a.4cdn.org/g/thread/39894014.json still use a string as the archived property. + if !!+req.response.posts[0].archived ThreadUpdater.thread.isArchived = true ThreadUpdater.set 'status', 'Archived', 'warning' ThreadUpdater.kill()