Add Require OP Quote Link option (off by default) to Thread Watcher menu: For purposes of thread watcher highlighting, only consider posts with a quote link to the OP as replies to the OP.
This commit is contained in:
parent
a951e17289
commit
950f004ec9
@ -248,7 +248,7 @@ ThreadWatcher =
|
||||
|
||||
unread++
|
||||
|
||||
if !quotingYou and youOP and not Filter.isHidden(Build.parseJSON postObj, boardID)
|
||||
if !quotingYou and !Conf['Require OP Quote Link'] and youOP and not Filter.isHidden(Build.parseJSON postObj, boardID)
|
||||
quotingYou = true
|
||||
continue
|
||||
|
||||
|
||||
@ -238,4 +238,4 @@ Unread =
|
||||
ThreadWatcher.update Unread.thread.board.ID, Unread.thread.ID,
|
||||
isDead: Unread.thread.isDead
|
||||
unread: Unread.posts.size
|
||||
quotingYou: !!(if QuoteYou.isYou(Unread.thread.OP) then Unread.posts.size else Unread.postsQuotingYou.size)
|
||||
quotingYou: !!(if !Conf['Require OP Quote Link'] and QuoteYou.isYou(Unread.thread.OP) then Unread.posts.size else Unread.postsQuotingYou.size)
|
||||
|
||||
@ -661,6 +661,10 @@ Config =
|
||||
true
|
||||
'Show number of unread posts in watched threads.'
|
||||
]
|
||||
'Require OP Quote Link': [
|
||||
false
|
||||
'For purposes of thread watcher highlighting, only consider posts with a quote link to the OP as replies to the OP.'
|
||||
]
|
||||
|
||||
filter:
|
||||
postID: """
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user