isMain on topic.create for filter:post.create

This commit is contained in:
Peter Jaszkowiak
2016-11-02 10:33:39 -06:00
parent 87e4d27a22
commit 91a28e98b7

View File

@@ -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) {