# Notifications not received for private messages I'm invited to

**URL:** https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577
**Category:** Feature
**Created:** [Octobre 7, 2017, 11:43 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577 "2017-10-07T11:43:13Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [Octobre 7, 2017, 11:43 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/1 "2017-10-07T11:43:13Z")

</div>

I was recently invited to a PM conversation involving a moderator and member of my site.

This turned into quite an important conversation because the member was discussing paying for advertising on my forum (and had just paid, and wanted to know if I’d received the payment).

Unfortunately I never saw her most recent PM message. **Discourse never alerted me to it in any way.** I only found it when I saw an unexpected payment in my bank account from that member! Eventually I browsed to my messages page, and there was the message.

IMO when I’m invited into a PM chain, I should be notified of new messages in that chain.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Octobre 7, 2017, 10:07 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/2 "2017-10-07T22:07:50Z")

</div>

I believe @jomaxro is looking at this.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [Octobre 7, 2017, 10:52 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/3 "2017-10-07T22:52:32Z")

</div>

Was looking at a different PM notification issue, I’ll add this to my list.

---

<div class="post-metadata">

### Author: ![ChrisBeach](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chrisbeach/32/214628_2.png) [@ChrisBeach](https://meta.discourse.org/u/ChrisBeach)
#### Post date: [Octobre 7, 2017, 10:58 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/4 "2017-10-07T22:58:29Z")

</div>

@codinghorror @jomaxro thank you, both.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Octobre 7, 2017, 11:03 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/5 "2017-10-07T23:03:53Z")

</div>

I suspect this is the same issue based on the description.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [Octobre 11, 2017, 12:25 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/6 "2017-10-11T00:25:59Z")

</div>

Just tested this. I did receive a notification that I was invited to a PM. However, my notification state remained normal, so I indeed was not notified of future messages. @codinghorror, my opinion is that being invited to a PM should set my notification state to watching, and users can change that if wanted. I think defaulting to normal (and thus not easily knowing that there are more messages) is not ideal.

Edit: To emphasize, this suggestion is for message invites only. Topics are visible in `/latest` so it’s not a major concern. PMs are quite hidden if you’re not notified.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Octobre 11, 2017, 12:38 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/7 "2017-10-11T00:38:47Z")

</div>

What are your feelings on this @sam

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [Octobre 11, 2017, 12:41 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/8 "2017-10-11T00:41:43Z")

</div>

Yeah I think this is buggy, when you are invited to a PM you should automatically watch it, anything else is unexpected imo.

Furthermore I think people should be able to opt to get an email when they are invited to a PM in case they are not heavy website users.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [Octobre 11, 2017, 12:42 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/9 "2017-10-11T00:42:21Z")

</div>

Kind of annoying to be forced to watch a topic the minute you are invited. That’s actually griefing..

I say you should only watch once you VISIT the topic and implictly “accept” the invite.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [Octobre 11, 2017, 12:44 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/10 "2017-10-11T00:44:25Z")

</div>

Keep in mind that PM invites are “blue” notifications not “green”, so if you get a lot of notifications all at the same time, it’s possible to miss it.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [Octobre 11, 2017, 12:47 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/11 "2017-10-11T00:47:03Z")

</div>

Perhaps if we change the flow it would make more sense:

Invite to a PM:

1. Triggers an invite email, “Bob invited you to XYZ conversation, with a summary of the last few posts, would you like to accept” (email notification if you are not on site, green notification if you are out of the box)

2. You click accept and are added into the PM as watching

I do agree that the “I can just silently add people to a PM if they want to or not” as any user is a problem, we need a different flow for people being pulled in to a discussion vs people who are there from get go.

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [Novembre 30, 2017, 9:42 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/12 "2017-11-30T21:42:07Z")

</div>

We support

1. Change it so you “watch at message” as soon as you visit it OR reply to it. (not before) … default on.

2. Add a site setting for “closed groups” that allows you to opt the entire site to “watch as soon as invited”. “watch\_messages\_on\_invite” default off.

@tgxworld can you take this as it popped up a few times now, would be better just to close it for good.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [Février 26, 2018, 10:12 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/19 "2018-02-26T10:12:52Z")

</div>

> [@sam](#):
>
> Change it so you “watch at message” as soon as you visit it

This is implemented in

[https://github.com/discourse/discourse/commit/c1f53e1ece69421cec4c03e99c4872c852dba2db](https://github.com/discourse/discourse/commit/c1f53e1ece69421cec4c03e99c4872c852dba2db)

> [@sam](#):
>
> reply to it.

I need to clarify what we actually want here because we’re [currently setting the notification level to `tracking`](https://github.com/discourse/discourse/blob/c1f53e1ece69421cec4c03e99c4872c852dba2db/lib/post_creator.rb#L523) once a user replies to any topic. Is the intention to update the code such that the notification level is `watching` for PM and `tracking` for normal topics?

> [@sam](#):
>
> amend copy of invite to explain that this must happen for you to watch the message.

I’m not sure which copy we’re referring to here. Is this for the mailer?

> [@sam](#):
>
> Add a site setting for “closed groups” that allows you to opt the entire site to “watch as soon as invited”. “watch\_messages\_on\_invite” default off.

I need to clarify this feature as well. Is this for closed groups only or is this a site wide setting? What is the difference between “watch as soon as invited” and “watch\_messages\_on\_invite”?

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [Mars 3, 2018, 12:22 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/20 "2018-03-03T00:22:49Z")

</div>

@sam Hmm should automatically watching the PM be applied to groups?

---

<div class="post-metadata">

### Author: ![gerhard](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gerhard/32/119479_2.png) [@gerhard](https://meta.discourse.org/u/gerhard)
#### Post date: [Mars 4, 2018, 11:00 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/21 "2018-03-04T11:00:42Z")

</div>

I think for groups it should use the user’s notification level of that group instead of “watching”.

---

<div class="post-metadata">

### Author: ![tgxworld](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tgxworld/32/106117_2.png) [@tgxworld](https://meta.discourse.org/u/tgxworld)
#### Post date: [Mars 5, 2018, 5:40 UTC](https://meta.discourse.org/t/notifications-not-received-for-private-messages-im-invited-to/71577/22 "2018-03-05T05:40:19Z")

</div>

Good point 👍 , I totally forgot that groups have a `default_notification_level` field. Fixed in

[https://github.com/discourse/discourse/commit/42e0aaed613a88ae5682cd0ae0f57a0083d1a52a](https://github.com/discourse/discourse/commit/42e0aaed613a88ae5682cd0ae0f57a0083d1a52a)
