Merge pull request #5176 from pitaj/is-main

isMain on topic.create for filter:post.create
v1.18.x
Barış Soner Uşaklı 8 years ago committed by GitHub
commit af3b6e2759

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

Loading…
Cancel
Save