From d1f8709dc35987b42c6a2cb6e8463fa83678d259 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Wed, 2 Jul 2014 18:16:33 -0700 Subject: [PATCH] fix to archive bug fix --- CHANGELOG.md | 3 +++ src/General/Get.coffee | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0304afae5..e9c73f81b 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +**ccd0** +- Fix an archived-post bug introduced in v1.8.3. + ### v1.8.3 *2014-07-01* diff --git a/src/General/Get.coffee b/src/General/Get.coffee index 3ea67dbc4..92c926282 100755 --- a/src/General/Get.coffee +++ b/src/General/Get.coffee @@ -217,7 +217,7 @@ Get = thread = g.threads["#{boardID}.#{threadID}"] or new Thread threadID, board post = new Post Build.post(o), thread, board, {isArchived: true} - post.file.thumbURL = o.file.turl + post.file.thumbURL = o.file.turl if post.file post.isFetchedQuote = true Main.callbackNodes Post, [post] Get.insert post, root, context