Don't save the unread count if the thread is dead.

This commit is contained in:
Mayhem 2013-08-01 20:34:00 +02:00
parent 6ee8dc83a7
commit b83e536c86

View File

@ -132,6 +132,7 @@ Unread =
Unread.update() if e
saveLastReadPost: ->
return if Unread.thread.isDead
Unread.db.set
boardID: Unread.thread.board.ID
threadID: Unread.thread.ID