# Distinguish private messages from posts?

**URL:** <https://meta.discourse.org/t/distinguish-private-messages-from-posts/51468>\
**Category:** Development\
**Created:** [10월 12, 2016, 9:12오후 UTC](https://meta.discourse.org/t/distinguish-private-messages-from-posts/51468 "2016-10-12T21:12:09Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![tim.smith](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tim.smith/32/119954_2.png) [@tim.smith](https://meta.discourse.org/u/tim.smith)\
**Post date:** [10월 13, 2016, 1:32오후 UTC](https://meta.discourse.org/t/distinguish-private-messages-from-posts/51468/11 "2016-10-13T13:32:15Z")

</div>

> you need to add post.topic.archetype as a field that gets sent.

What do you mean? The field is there in the event data for PM replies. It’s just set to “regular” so I can’t distinguish it from a reply to a topic.

> Or, do Guardian.new(plugin \_user).can\_see? post and use the standard visibility checks.

Can you point me to some documentation on what Guardian is and why I need a new one? Also documentation for how to do a visibility check and which ones are standard?

---

_[View the full topic](https://meta.discourse.org/t/distinguish-private-messages-from-posts/51468)._
