cv
This commit is contained in:
parent
c95931d85d
commit
98553fe288
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue