Don't show excerpts of hidden replies in the catalog either.
This commit is contained in:
parent
3c96afc0b6
commit
80b652c508
@ -10,6 +10,9 @@ PostHiding =
|
||||
name: 'Reply Hiding'
|
||||
cb: @node
|
||||
|
||||
isHidden: (boardID, threadID, postID) ->
|
||||
!!(PostHiding.db and PostHiding.db.get {boardID, threadID, postID})
|
||||
|
||||
node: ->
|
||||
return if !@isReply or @isClone or @isFetchedQuote
|
||||
|
||||
|
||||
@ -725,6 +725,7 @@ Index =
|
||||
|
||||
replies = []
|
||||
for data in lastReplies
|
||||
continue if PostHiding.isHidden(g.BOARD.ID, thread.ID, data.no)
|
||||
continue if Filter.isHidden(Build.parseJSON data, g.BOARD.ID)
|
||||
reply = Build.catalogReply thread, data
|
||||
RelativeDates.update $('time', reply)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user