From cc69f4a3da57c70f14761866cd546a5b8cfe0ba1 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Thu, 12 May 2016 00:00:55 -0700 Subject: [PATCH] Drop domain check for archive links. --- src/Quotelinks/Quotify.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Quotelinks/Quotify.coffee b/src/Quotelinks/Quotify.coffee index 0bd0e40d3..6fa611cbb 100644 --- a/src/Quotelinks/Quotify.coffee +++ b/src/Quotelinks/Quotify.coffee @@ -18,8 +18,7 @@ Quotify = return parseArchiveLink: (link) -> - return unless Redirect.archives.some (o) -> link.host is o.domain - return unless (m = link.pathname.match /^\/([^/]+)\/thread\/S?(\d+)\/?/) + return unless (m = link.pathname.match /^\/([^/]+)\/thread\/S?(\d+)\/?$/) boardID = m[1] threadID = m[2] postID = link.hash.match(/^#p?(\d+)$|$/)[1] or threadID