From 39db2f4276f25809eb4c897ce4142b56993650f1 Mon Sep 17 00:00:00 2001 From: ccd0 Date: Sun, 17 Aug 2014 18:46:26 -0700 Subject: [PATCH] ignore own posts in unread count --- src/Monitoring/ThreadWatcher.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Monitoring/ThreadWatcher.coffee b/src/Monitoring/ThreadWatcher.coffee index be6cbb98a..788ea903d 100755 --- a/src/Monitoring/ThreadWatcher.coffee +++ b/src/Monitoring/ThreadWatcher.coffee @@ -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