# New private message button missing

**URL:** https://meta.discourse.org/t/new-private-message-button-missing/169856
**Category:** Support
**Created:** [November 11, 2020, 9:01pm UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856 "2020-11-11T21:01:34Z")
**Posts on this page:** 9
**Page:** 1

<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: [November 11, 2020, 9:01pm UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856/1 "2020-11-11T21:01:34Z")

</div>

In the messaging center (on which you see your inbox, sent items, etc) there is no button to create a “new message”. Only for moderator / admins this button exists.

On the other side, the same user is able to create a new message, if he/she clicks on the avatar of a user and selects “new message” on the user card.

Can someone please let me know which setting I need to change?

---

<div class="post-metadata">

### Author: ![Thomas\_G](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thomas_g/32/200158_2.png) [@Thomas\_G](https://meta.discourse.org/u/Thomas_G)
#### Post date: [November 11, 2020, 9:33pm UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856/2 "2020-11-11T21:33:12Z")

</div>

You should find & change this setting:

`min trust to send messages`

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [November 11, 2020, 9:34pm UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856/3 "2020-11-11T21:34:12Z")

</div>

Are you referring to this page?

[https://meta.discourse.org/my/messages](https://meta.discourse.org/my/messages)

If so there should be a new message button in blue above `inbox`:

 ![Screen Shot 2020-11-11 at 1.31.51 PM](https://global.discourse-cdn.com/meta/original/3X/1/9/19a23ed4da7a6c3567e814c719b3a3bf22ad09e6.png)

---

<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: [November 12, 2020, 7:32am UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856/4 "2020-11-12T07:32:34Z")

</div>

@Thomas_G: The “min trust level to send messages” is set to TL0. So, this can not be the reason.  
@Stephen: Yes, the “new message” button above “inbox” is missing. But, as I said, on the user card the “message” button occurs which then can be used to send a message. Its weird.  
I would have a look at the code if I would find the section to look at 🙂

I have discourse-encrypt enabled. I disabled the plugin but the button is still missing.

---

<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: [November 12, 2020, 7:40am UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856/5 "2020-11-12T07:40:46Z")

</div>

One more addition:

- The button “New message” above inbox exists if the user is a moderator
- All users are “SAML” users.

---

<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: [November 12, 2020, 8:11am 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?

---

<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: [November 12, 2020, 11:12am UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856/7 "2020-11-12T11:12:48Z")

</div>

Nice spelunking 👍

> [@sbernhard](#):
>
> The issue was: the “system” user disabled the option to receive private messages.

How did that happen? 🤔

---

<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: [November 12, 2020, 11:59am UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856/8 "2020-11-12T11:59:13Z")

</div>

Well, someone (myself?) changed this value some week/month ago?

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [December 12, 2020, 12:13pm UTC](https://meta.discourse.org/t/new-private-message-button-missing/169856/9 "2020-12-12T12:13:50Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
