forked from rDrama/rDrama
Suppress notifs for posts from shadowed.
parent
bf4e608dae
commit
f0c9a97fda
|
@ -353,7 +353,7 @@ def on_post_hole_entered(post, v):
|
|||
hole = post.subr.name
|
||||
|
||||
# Notify hole followers
|
||||
if not post.ghost and not post.private:
|
||||
if not post.ghost and not post.private and not post.author.shadowbanned:
|
||||
text = f"<a href='/h/{hole}'>/h/{hole}</a> has a new " \
|
||||
+ f"post: [{post.title}]({post.shortlink}) by @{v.username}"
|
||||
cid = notif_comment(text, autojanny=True)
|
||||
|
|
Loading…
Reference in New Issue