Don't record posts as yours when 'Mark Quotes of You' is disabled.
This commit is contained in:
parent
ab97078638
commit
d2a9e49959
@ -1,5 +1,6 @@
|
|||||||
PostSuccessful =
|
PostSuccessful =
|
||||||
init: ->
|
init: ->
|
||||||
|
return unless Conf['Mark Quotes of You']
|
||||||
$.ready @ready
|
$.ready @ready
|
||||||
|
|
||||||
ready: ->
|
ready: ->
|
||||||
|
|||||||
@ -24,7 +24,7 @@ QR =
|
|||||||
init: ->
|
init: ->
|
||||||
return unless Conf['Quick Reply']
|
return unless Conf['Quick Reply']
|
||||||
|
|
||||||
@db = new DataBoard 'yourPosts'
|
@db = new DataBoard 'yourPosts' if Conf['Mark Quotes of You']
|
||||||
@posts = []
|
@posts = []
|
||||||
|
|
||||||
return if g.VIEW is 'archive'
|
return if g.VIEW is 'archive'
|
||||||
@ -791,7 +791,7 @@ QR =
|
|||||||
threadID = +threadID or postID
|
threadID = +threadID or postID
|
||||||
isReply = threadID isnt postID
|
isReply = threadID isnt postID
|
||||||
|
|
||||||
QR.db.set
|
QR.db?.set
|
||||||
boardID: g.BOARD.ID
|
boardID: g.BOARD.ID
|
||||||
threadID: threadID
|
threadID: threadID
|
||||||
postID: postID
|
postID: postID
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user