This commit is contained in:
Aevann1 2022-02-16 06:54:30 +02:00
parent c95931d85d
commit 98553fe288

View file

@ -928,7 +928,7 @@ def pin_comment(cid, v):
g.db.add(comment)
if v.id != comment.author_id:
if v.id != comment.author_id and not comment.post.ghost:
message = f"@{v.username} (OP) has pinned your [comment]({comment.sl})!"
send_repeatable_notification(comment.author_id, message)