From 4ca1b1450c46ad359ce7ae1eb6f4400194e34bde Mon Sep 17 00:00:00 2001 From: ccd0 Date: Fri, 1 Mar 2019 10:13:21 -0800 Subject: [PATCH] Fix thread watcher highlighting when quoted on boards with unusual characters in name (e.g. some lainchan boards). --- src/Monitoring/ThreadWatcher.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Monitoring/ThreadWatcher.coffee b/src/Monitoring/ThreadWatcher.coffee index 5ecf57450..f4f95cd7d 100644 --- a/src/Monitoring/ThreadWatcher.coffee +++ b/src/Monitoring/ThreadWatcher.coffee @@ -274,7 +274,7 @@ ThreadWatcher = while match = regexp.exec postObj.com if QuoteYou.db.get { siteID - boardID: match[1] or boardID + boardID: if match[1] then encodeURIComponent(match[1]) else boardID threadID: match[2] or threadID postID: match[3] or match[2] or threadID }