# 当用户在主题中发帖且该主题被移至私有分类时，通知不会隐藏

**URL:** https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569
**Category:** Support
**Created:** [2019年五月24日 00:27 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569 "2019-05-24T00:27:49Z")
**Posts on this page:** 15
**Page:** 1

<div class="post-metadata">

### Author: ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### Post date: [2019年五月24日 00:27 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/1 "2019-05-24T00:27:49Z")

</div>

Full quote of user:

> After seeing a topic and reading and checking it, it was marked as “watching” for me,  
> after that it has been moved to a category i don’t have access to, but still recieved notifications of edits/posts inside, which was confusing as i had no access to that topic anymore.  
> So one thing to improve could be (so confusion like that wouldn’t occur)  
> to have notifications check if that user still has access to it and if not, ignore possible notifications.  
> (believe me, it’s really confusing, especially if the user experiencing it has no idea what’s going on)

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [2019年五月24日 01:36 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/2 "2019-05-24T01:36:56Z")

</div>

I have only been able to reproduce this if the notification is generated before the topic is recategorized. For example, a user is watching a topic that receives a new post. After the new post is created, the topic is then recategorized to a category the user doesn’t have access to. The next time the user logs in, they will receive a notification about the post that was created _before_ the topic was recategorized. If they click on the notification, they will receive the “Sorry, you don’t have access to that topic!” page.

Is it possible that this is what was happening with the user on your site?

---

<div class="post-metadata">

### Author: ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### Post date: [2019年五月24日 02:33 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/3 "2019-05-24T02:33:09Z")

</div>

Yes. That’s probably it. Since I was a moderator, I couldn’t check it.

---

<div class="post-metadata">

### Author: ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### Post date: [2019年五月24日 04:04 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/4 "2019-05-24T04:04:49Z")

</div>

Another update from the user about what exactly happened:

> [@](#):
>
> _Full quote from user:_
> 
> 1. View the topic in question and have it open long enough to be marked as **watching**
> 2. (Unsure of this one) Use another tab to do things, keeping the old tab open as time goes by.
> 3. Recieved a notification on another tab, which i used more actively - couldn’t enter **unsure who and what**
> 4. time goes by, surfing the board again.
> 5. Recieved another Notification with your name for a reply - couldn’t enter
> 6. refreshed site, immediately got another, clicked on it again, couldn’t enter.
> 7. time’s gone by until it was moved back and i recieved another notification, then realizing why it was the way it was.

---

<div class="post-metadata">

### Author: ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### Post date: [2019年五月28日 03:50 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/5 "2019-05-28T03:50:26Z")

</div>

Ok, I’m going to rename this topic so it makes more sense. A fix to this is to hide the notification when the topic is moved to a different private category.

---

<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: [2019年五月28日 04:59 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/6 "2019-05-28T04:59:55Z")

</div>

Why would the notification hide? It was valid at the time it was sent.

---

<div class="post-metadata">

### Author: ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### Post date: [2019年五月28日 07:45 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/7 "2019-05-28T07:45:02Z")

</div>

Wouldn’t hiding it be better than confusing users with the “inaccessible” topic notification?

---

<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: [2019年五月28日 11:07 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/8 "2019-05-28T11:07:11Z")

</div>

I think your moderators are doing confusing things, and the software is manifesting the results of those confusing decisions.

If you force a topic into a hidden category you will need to let the users involved know what to do, rather than just yanking the rug out from under them with no explanation. That’s the job of staff.

---

<div class="post-metadata">

### Author: ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### Post date: [2019年五月28日 11:11 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/9 "2019-05-28T11:11:48Z")

</div>

> [@codinghorror](#):
>
> I think your moderators are doing confusing things

It wasn’t the moderators, it was one of those “careless” TL3 members who tried to handle the “bad-post” themselves by moving it to the #lounge category and pinging the moderators. I’ve reminded that user to use flags instead to avoid confusion.

> [@codinghorror](#):
>
> That’s the job of staff.

After that “incident”, I’ve made a little apology note (Even though that TL3 user should’ve done it :disapproval:) about why the category was being moved around.

---

<div class="post-metadata">

### Author: ![jtbayly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jtbayly/32/119510_2.png) [@jtbayly](https://meta.discourse.org/u/jtbayly)
#### Post date: [2019年五月28日 11:25 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/10 "2019-05-28T11:25:20Z")

</div>

I’ve got a user reporting a notification he can’t get rid of on our site. I wonder if this is why.

---

<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: [2019年五月28日 18:35 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/11 "2019-05-28T18:35:53Z")

</div>

Aha this makes more sense as a TL3 event. Thanks for explaining. Still, it is rare to have a category only visible to TL3 that is actively in use, even rarer to have TL3 people actively moving topics into that category.

---

<div class="post-metadata">

### Author: ![Chaboi\_3000](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/chaboi_3000/32/163015_2.png) [@Chaboi\_3000](https://meta.discourse.org/u/Chaboi_3000)
#### Post date: [2019年五月29日 21:50 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/12 "2019-05-29T21:50:46Z")

</div>

I think the TL3 people are **waaaay** too proud of their lounge category, they put anything in 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: [2019年五月30日 02:04 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/13 "2019-05-30T02:04:36Z")

</div>

This is a culture thing first and foremost, not really something to be addressed in software.

---

<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: [2022年十月21日 15:16 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/14 "2022-10-21T15:16:57Z")

</div>



---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [2022年十月22日 05:51 UTC](https://meta.discourse.org/t/notification-doesnt-hide-when-user-posts-in-a-topic-and-the-topic-gets-moved-to-a-private-category/118569/15 "2022-10-22T05:51:25Z")

</div>


