# PM notifications not working consistently

**URL:** https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005
**Category:** Bug
**Created:** [March 31, 2015, 12:31am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005 "2015-03-31T00:31:26Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![loopback0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loopback0/32/37486_2.png) [@loopback0](https://meta.discourse.org/u/loopback0)
#### Post date: [March 31, 2015, 12:31am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/1 "2015-03-31T00:31:26Z")

</div>

Initially detected on TDWTF but repro here.

Profile:  
 ![](https://global.discourse-cdn.com/meta/original/3X/e/c/ec53c3209ca5a574b322a986f50c937b90025bda.png)  
PM list:

 ![](https://global.discourse-cdn.com/meta/original/3X/4/e/4ea225f27e61c220019e348819218bc6465034e8.png)  
Notifications:  
 ![](https://global.discourse-cdn.com/meta/original/3X/4/b/4bd236416464ede03cab10ceca6f97e0f0f77bfe.png)

Didn’t have a browser open here at all between flagging and coming back to check.

Have only noticed this on TDWTF since beta 4 but may have been more recent than that.

More examples which show the inconsistency here:

> **[What the Daily WTF?](https://what.thedailywtf.com/login)**

---

<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: [March 31, 2015, 12:39am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/2 "2015-03-31T00:39:26Z")

</div>

What is your tracking status on that PM ?

---

<div class="post-metadata">

### Author: ![loopback0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loopback0/32/37486_2.png) [@loopback0](https://meta.discourse.org/u/loopback0)
#### Post date: [March 31, 2015, 12:40am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/3 "2015-03-31T00:40:09Z")

</div>

![](https://global.discourse-cdn.com/meta/original/3X/e/b/eb7f10c54890c6bc3bd78f6710662fa0ba603042.png)

---

<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: [March 31, 2015, 12:46am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/4 "2015-03-31T00:46:16Z")

</div>

@zogstrip did you add a recent suppression here?

---

<div class="post-metadata">

### Author: ![loopback0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loopback0/32/37486_2.png) [@loopback0](https://meta.discourse.org/u/loopback0)
#### Post date: [March 31, 2015, 12:54am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/5 "2015-03-31T00:54:24Z")

</div>

If it helps, it’s not just flag PMs. See the link above.  
I was in a PM thread where I got no notification for the OP or the first reply, then I made the second reply, then got a notification for the third.

---

<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: [March 31, 2015, 1:37am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/6 "2015-03-31T01:37:21Z")

</div>

Note that if you **add people to a PM after the fact** it will not work right since that person is (incorrectly) added with a state of tracking instead of watching. This is a known issue.

---

<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: [March 31, 2015, 1:38am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/7 "2015-03-31T01:38:34Z")

</div>

Also the first post here is not clear to me. What are the exact repro steps?

---

<div class="post-metadata">

### Author: ![loopback0](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/loopback0/32/37486_2.png) [@loopback0](https://meta.discourse.org/u/loopback0)
#### Post date: [March 31, 2015, 8:29am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/9 "2015-03-31T08:29:02Z")

</div>

For those - it was just flag a post. When @sam dealt with it and the response was sent in a PM, there was no notification.

As for repro around actual PM threads started by users manually - I’m not sure, there doesn’t seem to be any real consistency there.

---

<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: [March 31, 2015, 9:45am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/10 "2015-03-31T09:45:19Z")

</div>

> [@loopback0](#):
>
> When @sam dealt with it and the response was sent in a PM, there was no notification.

Oh I see, so the automatic flag handling responses, which post standard replies to the “flag as PM” topics based on the button the mod/admin clicks to deal with the flag, are not generating notifications. I agree, something for @zogstrip to look at.

---

<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: [April 1, 2015, 9:56am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/11 "2015-04-01T09:56:38Z")

</div>

Thanks @loopback0 for reporting that issue. I just pushed a fix 🐄

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

---

<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: [April 3, 2015, 11:23am UTC](https://meta.discourse.org/t/pm-notifications-not-working-consistently/27005/12 "2015-04-03T11:23:43Z")

</div>


