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([
db.findOne({
'postId': id,
'board': board
'board': board,
'thread': null,
}, {
'projection': {
'salt': 0,

Loading…
Cancel
Save