# Distinguish private messages from posts?

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

<div class="post-metadata">

**Author:** ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)\
**Post date:** [October 12, 2016, 9:32pm UTC](https://meta.discourse.org/t/distinguish-private-messages-from-posts/51468/2 "2016-10-12T21:32:06Z")

</div>

Something might be wrong, because the `topic.archetype == "private_message"` is the way to differentiate regular posts from PMs.

---

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