Skip to content

Node.js based forum software built for the modern web

fix: send sourceContent in to addToQueue

Julian Lam97f4c283fc8e
diff --git a/src/posts/queue.js b/src/posts/queue.js
index 13a60fde0e..b35ece6c80 100644
--- a/src/posts/queue.js
+++ b/src/posts/queue.js
@@ -277,7 +277,7 @@ module.exports = function (Posts) {
reply: 'topics:reply',
};
- topics.checkContent(data.content);
+ topics.checkContent(data.sourceContent || data.content);
if (type === 'topic') {
topics.checkTitle(data.title);
if (data.tags) {