mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-08 00:22:51 +01:00
isMain on topic.create for filter:post.create
This commit is contained in:
@@ -134,6 +134,7 @@ module.exports = function (Topics) {
|
||||
var postData = data;
|
||||
postData.tid = tid;
|
||||
postData.ip = data.req ? data.req.ip : null;
|
||||
postData.isMain = true;
|
||||
posts.create(postData, next);
|
||||
},
|
||||
function (postData, next) {
|
||||
|
||||
Reference in New Issue
Block a user