Prevent topics of muted categories from showing up in summary email

I noticed on my forum that when a category is muted, topics from that category still show up in summary emails.

This is unexpected behavior because my assumption is that muted categories, which is defined as never being notified about new topics in this category, wouldn’t show up in the summary emails either.

Here’s an example of a user who has muted “Internal Comms”

When I previewed their summary email, Internal Comms showed up.

I propose that summary emails do not include topics from muted categories unless that specific topic within a muted category has a different status.

4 Likes

From looking at the code, it seems that muted topics are supposed to be excluded from the summary email. Note that it is muted topics that are excluded, not topics that are in muted categories. Where this could be significant is if a user who has muted a category has interacted with one of that category’s topics in a way that would set their notification level for the topic to anything other than muted. This would happen if the user had replied to the topic prior to muting its category, or if the user had spent time reading the topic, or replied to it after having muted the category.

Does the above explain what you are seeing for this user?

2 Likes

I would expect topic-level watching, etc., to override a category mute. Moreso in “real time” email notifications, but also in the summary digest although my usage of summaries tends to be more about finding topics I haven’t jumped into, yet.

2 Likes

No, this user has not interacted at all with the internal comms topic that I highlighted.

I agree with this. Topic level watch settings should override category settings. So, if I’m watching or tracking a topic in an otherwise muted category, I should be able to see that topic in my summary email.

Michael, would you want to see topics in categories that you’ve muted, though? I mute categories because I’m not interested, so I wouldn’t want to see them in my summary email either.

3 Likes

Same here. I would neither expect nor desire to see them in my summary email.

2 Likes

Do you know if muted category topics are showing up in your forums’ summary emails? I’m wondering if it’s me or if it’s something that’s part of Discourse.

1 Like

Hello, I’ve moved this topic to #feature because my tests all show that topics in muted categories continue to show up. This is really high priority for our community!

3 Likes

Hmm, can we have someone double-check this code path next week @zogstrip? That shouldn’t be happening…

4 Likes

@nbianca can you add that to your list?

2 Likes

I checked our code and can confirm that:

  • digests DO NOT include muted topics (see code)
  • digests DO NOT include topics from muted categories (see code)
  • digests DO NOT include watched topics from muted categories, but they will
4 Likes

Unfortunately, while this is the code, my users are definitely getting topics from muted categories in their summary email as of this morning. Is this reproducible on your end?

Maybe it makes a difference if the parent category is set to Regular/Normal and it’s the sub-category that is Muted?

Wonderful!

2 Likes

Would I file this topic under bug, given what you found in the code? I’ll go ahead and move it in a couple of days if you don’t object.

Unless you can reproduce it, or give us steps to reproduce it, I think it’s more likely that the users are not reporting it correctly or misunderstanding their settings… sorry :frowning:

Happy to keep looking if you can give us repro steps or leads!