# Muted categories showing for anonymous users

**URL:** <https://meta.discourse.org/t/muted-categories-showing-for-anonymous-users/202122>\
**Category:** Bug\
**Created:** [August 30, 2021, 2:32pm UTC](https://meta.discourse.org/t/muted-categories-showing-for-anonymous-users/202122 "2021-08-30T14:32:12Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [September 15, 2021, 4:58pm UTC](https://meta.discourse.org/t/muted-categories-showing-for-anonymous-users/202122/7 "2021-09-15T16:58:01Z")

</div>

So here’s the issue.

If `mute_all_categories_by_default` is set, then it ignores the muted categories list. It’s giving me all categories if `mute_all_categories_by_default`, but obeys the `default_categories_muted` if it’s not.

> <https://github.com/discourse/discourse/blob/main/lib/topic_query.rb#L836>

This seems like a bug, to ignore the muted categories, or maybe it doesn’t make any sense to have muted categories if all categories are muted by default. But it would seem like if all categories are muted by default and there are no watched categories then it should show nothing?

---

_[View the full topic](https://meta.discourse.org/t/muted-categories-showing-for-anonymous-users/202122)._
