# Nieuwe privéberichtknop ontbreekt

**URL:** <https://meta.discourse.org/t/new-private-message-button-missing/169856>\
**Category:** Product Support\
**Created:** [11 november 2020 om 21:01 UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856 "2020-11-11T21:01:34Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![sbernhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sbernhard/32/208186_2.png) [@sbernhard](https://meta.discourse.org/u/sbernhard)\
**Post date:** [12 november 2020 om 08:11 UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856/6 "2020-11-12T08:11:35Z")

</div>

Oh. This was a evil one. Sorry to everyone!

The issue was: the “system” user disabled the option to receive private messages.

The “New button” is guarded by “can\_send\_private\_message?(Discourse.system\_user)” → if you disable that the system user can receive private messages → the button is gone.

If you click directly on the “message” button on the User Card of a user, the guard is of course different as it will then verify the target user directly.

Thanks to everyone. Did I already mention, that open source code is beautiful?

---

_[View the full topic](https://meta.discourse.org/t/new-private-message-button-missing/169856)._
