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:
ccd0 2017-02-06 00:24:16 -08:00
parent a951e17289
commit 950f004ec9
3 changed files with 6 additions and 2 deletions

View File

@ -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

View File

@ -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)

View File

@ -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: """