Don't hide posts with notification filters. #2231
This commit is contained in:
parent
24f1458a73
commit
28dc40b1d4
@ -106,7 +106,7 @@ Filter =
|
|||||||
(value) -> regexp.test value
|
(value) -> regexp.test value
|
||||||
|
|
||||||
settings =
|
settings =
|
||||||
hide: !hl
|
hide: !(hl or noti)
|
||||||
stub: stub
|
stub: stub
|
||||||
class: hl
|
class: hl
|
||||||
top: top
|
top: top
|
||||||
@ -143,10 +143,10 @@ Filter =
|
|||||||
unless hl and result.class in hl
|
unless hl and result.class in hl
|
||||||
(hl or= []).push result.class
|
(hl or= []).push result.class
|
||||||
top or= result.top
|
top or= result.top
|
||||||
if result.noti
|
if result.noti
|
||||||
noti = true
|
noti = true
|
||||||
if hide
|
if hide
|
||||||
{hide, stub, noti}
|
{hide, stub}
|
||||||
else
|
else
|
||||||
{hl, top, noti}
|
{hl, top, noti}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user