# 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:** 16

<div class="post-metadata">

**Author:** ![riking](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/riking/32/170938_2.png) [@riking](https://meta.discourse.org/u/riking)\
**Post date:** [10월 13, 2016, 5:01오후 UTC](https://meta.discourse.org/t/distinguish-private-messages-from-posts/51468/16 "2016-10-13T17:01:32Z")

</div>

Interesting. But again, the best route is to simply reload the post from the database and pull all the fields you need from that.

Guardian is the class that takes care of all permission checks in Discourse.

---

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