ignore own posts in unread count

This commit is contained in:
ccd0 2014-08-17 18:46:26 -07:00
parent 46942f3e65
commit 39db2f4276

View File

@ -147,7 +147,7 @@ ThreadWatcher =
unread = 0
for postObj in @response.posts
if postObj.no > lastReadPost
if postObj.no > lastReadPost and !QR.db?.get {boardID, threadID, postID: postObj.no}
unread++
if unread isnt data.unread