diff --git a/src/Filtering/Filter.coffee b/src/Filtering/Filter.coffee index 8ade2b603..739f7bfc5 100644 --- a/src/Filtering/Filter.coffee +++ b/src/Filtering/Filter.coffee @@ -190,7 +190,7 @@ Filter = el: el open: (post) -> value = Filter[type] post - value? + value? and not (g.BOARD.ID is 'f' and type is 'MD5') } makeFilter: -> diff --git a/src/main/Main.coffee b/src/main/Main.coffee index f18ace7f9..b0f7ac801 100644 --- a/src/main/Main.coffee +++ b/src/main/Main.coffee @@ -291,6 +291,13 @@ Main = threads[0].fileLimit = /\bimagelimit *= *1\b/.test scriptData threads[0].ipCount = if m = scriptData.match /\bunique_ips *= *(\d+)\b/ then +m[1] + if g.BOARD.ID is 'f' and g.VIEW is 'thread' + $.ajax "//a.4cdn.org/f/thread/#{g.THREADID}.json", + timeout: $.MINUTE + onloadend: -> + if @response and posts[0].file + posts[0].file.text.dataset.md5 = posts[0].file.MD5 = @response.posts[0].md5 + Main.callbackNodes 'Thread', threads Main.callbackNodesDB 'Post', posts, -> QuoteThreading.insert post for post in posts