reduce data sent by QRPostSuccessful event

This commit is contained in:
ccd0 2014-06-18 00:29:10 -07:00
parent 17ab7f5f36
commit 3c71e2f726
2 changed files with 2 additions and 2 deletions

View File

@ -92,7 +92,7 @@ ThreadWatcher =
if Conf['Auto Watch'] if Conf['Auto Watch']
$.set 'AutoWatch', threadID $.set 'AutoWatch', threadID
else if Conf['Auto Watch Reply'] else if Conf['Auto Watch Reply']
ThreadWatcher.add board.threads[threadID] ThreadWatcher.add g.boards[board.ID].threads[threadID]
onIndexRefresh: -> onIndexRefresh: ->
{db} = ThreadWatcher {db} = ThreadWatcher
boardID = g.BOARD.ID boardID = g.BOARD.ID

View File

@ -793,7 +793,7 @@ QR =
# Post/upload confirmed as successful. # Post/upload confirmed as successful.
$.event 'QRPostSuccessful', { $.event 'QRPostSuccessful', {
board: g.BOARD board: {ID: g.BOARD.ID}
threadID threadID
postID postID
} }