# Change category "tracking" subscription to "watching" if I post a reply

**URL:** https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958
**Category:** Support
**Created:** [4월 14, 2017, 1:31오전 UTC](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958 "2017-04-14T01:31:06Z")
**Posts on this page:** 9
**Page:** 2

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [4월 14, 2017, 7:49오후 UTC](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958/21 "2017-04-14T19:49:00Z")

</div>

PR Submitted  
[https://github.com/discourse/discourse/pull/4811](https://github.com/discourse/discourse/pull/4811)

---

<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: [4월 14, 2017, 8:01오후 UTC](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958/22 "2017-04-14T20:01:10Z")

</div>

Ok merged thanks @cpradio! 🍻

---

<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: [4월 14, 2017, 8:01오후 UTC](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958/23 "2017-04-14T20:01:14Z")

</div>



---

<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: [4월 19, 2017, 9:36오전 UTC](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958/24 "2017-04-19T09:36:28Z")

</div>



---

<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: [4월 19, 2017, 9:48오전 UTC](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958/25 "2017-04-19T09:48:21Z")

</div>

Unfortunately this fix isn’t right.. it is now overriding in the case where

- user posts in topic
- user sets topic notification state to “normal”
- user posts again in the same topic

we have to disallow change if the notification state is normal … or muted, as @cpradio alluded to. Pardon the pseudocode but this might be the fix:

`notifications_reason_id IS NULL OR (notification_level < ? AND notification_level > normal)`

either

- user has not set a notification level for this topic

OR

- desired notification level is higher than current topic notification level AND current notification level is greater than normal

(the key to understanding this is that if we do have a notification level of normal that’s explicitly set in the DB, that _absolutely_ came from the user, as normal is an assumed default all the time.)

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [4월 19, 2017, 10:17오전 UTC](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958/26 "2017-04-19T10:17:51Z")

</div>

Will submit a PR to do that shortly 🙂 (and update the tests)

---

<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: [4월 19, 2017, 10:18오전 UTC](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958/27 "2017-04-19T10:18:09Z")

</div>

I believe @techapj is already working on it so I would hold off.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [4월 19, 2017, 10:52오전 UTC](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958/28 "2017-04-19T10:52:24Z")

</div>

@cpradio fixed this via:

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

---

<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: [4월 19, 2017, 11:10오전 UTC](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958/29 "2017-04-19T11:10:47Z")

</div>



[이전 페이지](https://meta.discourse.org/t/change-category-tracking-subscription-to-watching-if-i-post-a-reply/60958.md?page=1)
