dont show thread with single post, make sure thread post is a thread

merge-requests/208/head
fatchan 5 years ago
parent 529bc5e91d
commit 4c615bd2a2
  1. 3
      db-models/posts.js

@ -61,7 +61,8 @@ module.exports = {
const data = await Promise.all([ const data = await Promise.all([
db.findOne({ db.findOne({
'postId': id, 'postId': id,
'board': board 'board': board,
'thread': null,
}, { }, {
'projection': { 'projection': {
'salt': 0, 'salt': 0,

Loading…
Cancel
Save