# 게시물에 "개인 메시지" 버튼 추가

**URL:** <https://meta.discourse.org/t/add-a-personal-message-button-on-post/186183>\
**Category:** Feature\
**Tags:** personal-messages\
**Created:** [4월 9, 2021, 9:55오전 UTC](https://meta.discourse.org/t/add-a-personal-message-button-on-post/186183 "2021-04-09T09:55:19Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![lhkjacky](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lhkjacky/32/204198_2.png) [@lhkjacky](https://meta.discourse.org/u/lhkjacky)\
**Post date:** [4월 9, 2021, 12:47오후 UTC](https://meta.discourse.org/t/add-a-personal-message-button-on-post/186183/3 "2021-04-09T12:47:51Z")

</div>

정말 감사합니다. 🥰 🥰 🥰

제가 원하는 대로 정확히 작동합니다. 🥳 🥳 🥳

* * *

순전히 호기심에, 😀

`{{#if this.user.can_send_private_message_to_user}}`를 "[pm-topic-author.hbs](https://github.com/paviliondev/discourse-pm-topic-author/blob/master/assets/javascripts/discourse/connectors/topic-above-posts/pm-topic-author.hbs)"에 추가하면, 사용자가 글쓴이(OP)와 동일할 경우 버튼이 표시되지 않도록 할 수 있을까요? 🤔

Discourse 사용자 카드의 "[user-card-contents.hbs](https://github.com/discourse/discourse/blob/e8a9917db1731636f8659db63e925e743ae4ed11/app/assets/javascripts/discourse/app/templates/components/user-card-contents.hbs#L67)"와 유사한 방식입니다.

 ![pm-topic-author.hbs](https://global.discourse-cdn.com/meta/original/3X/b/7/b7a0ce22dc96c408976fa1aaf979b5182fbfb07d.png)

---

_[View the full topic](https://meta.discourse.org/t/add-a-personal-message-button-on-post/186183)._
