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,11 +785,13 @@ QR =
threadID = +threadID or postID threadID = +threadID or postID
isReply = threadID isnt postID isReply = threadID isnt postID
QR.db?.set $.forceSync 'Mark Quotes of You'
boardID: g.BOARD.ID if Conf['Mark Quotes of You']
threadID: threadID QR.db?.set
postID: postID boardID: g.BOARD.ID
val: true threadID: threadID
postID: postID
val: true
# Post/upload confirmed as successful. # Post/upload confirmed as successful.
$.event 'QRPostSuccessful', { $.event 'QRPostSuccessful', {