Turning off 'Mark Quotes of You' should end post history collection immediately.

This commit is contained in:
ccd0 2015-11-28 09:42:42 -08:00
parent 28597d6a2c
commit 88b534f74b

View File

@ -24,7 +24,10 @@ QR =
init: -> init: ->
return unless Conf['Quick Reply'] return unless Conf['Quick Reply']
@db = new DataBoard 'yourPosts' if Conf['Mark Quotes of You'] if Conf['Mark Quotes of You']
$.sync 'Mark Quotes of You', (enabled) -> Conf['Mark Quotes of You'] = enabled
@db = new DataBoard 'yourPosts'
@posts = [] @posts = []
return if g.VIEW is 'archive' return if g.VIEW is 'archive'
@ -782,6 +785,8 @@ QR =
threadID = +threadID or postID threadID = +threadID or postID
isReply = threadID isnt postID isReply = threadID isnt postID
$.forceSync 'Mark Quotes of You'
if Conf['Mark Quotes of You']
QR.db?.set QR.db?.set
boardID: g.BOARD.ID boardID: g.BOARD.ID
threadID: threadID threadID: threadID