From 9f2ed949293fa6dcb37a75cc66e5e014267ec01e Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 16 Feb 2022 06:54:30 +0200 Subject: [PATCH] cv --- files/routes/comments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/comments.py b/files/routes/comments.py index b0ce382c7..9e39f0e13 100644 --- a/files/routes/comments.py +++ b/files/routes/comments.py @@ -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)