Modified manner in which isYou accesses board and thread ID to fix issue with post objects not containing board and thread members on an index

This commit is contained in:
pentargency 2017-11-19 07:53:40 -08:00
parent ed67b3e968
commit 5c73d03915

View File

@ -33,8 +33,8 @@ QuoteYou =
isYou: (post) ->
!!QuoteYou.db?.get {
boardID: post.board.ID
threadID: post.thread.ID
boardID: post.boardID
threadID: post.threadID
postID: post.ID
}