Evitar que los temas de las categorías silenciadas aparezcan en el correo electrónico de resumen

Noté en mi foro que cuando una categoría está silenciada, los temas de esa categoría siguen apareciendo en los correos electrónicos de resumen.

Este es un comportamiento inesperado, ya que mi suposición es que las categorías silenciadas, que se definen como aquellas de las que nunca se recibe notificación sobre nuevos temas, tampoco deberían aparecer en los correos electrónicos de resumen.

Aquí hay un ejemplo de un usuario que ha silenciado “Comunicaciones Internas”.

Cuando previsualicé su correo electrónico de resumen, “Comunicaciones Internas” apareció.

Propongo que los correos electrónicos de resumen no incluyan temas de categorías silenciadas, a menos que ese tema específico dentro de una categoría silenciada tenga un estado diferente.

5 Me gusta

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 Me gusta

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 Me gusta

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 Me gusta

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

2 Me gusta

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 me gusta

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 Me gusta

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

4 Me gusta

@nbianca can you add that to your list?

2 Me gusta

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 Me gusta

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!

3 Me gusta

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.

1 me gusta

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!

Puedo confirmar este comportamiento con la versión 3.2.0

Estoy viendo temas de una Categoría Silenciada en los correos electrónicos de resumen (en Temas Populares). ¿Hay alguna configuración específica que deba establecerse para evitar que esto suceda?

Por ejemplo, la categoría Comentarios del sitio está silenciada, pero todavía estoy viendo temas de esa categoría que se envían en los correos electrónicos de resumen.

También existe la configuración de administrador digest suppress categories, que parece que podría ser útil aquí:

1 me gusta

Eso también está habilitado, todavía envía temas de esa categoría.

Hmm. Me temo que no puedo reproducir esto en mi sitio de prueba. Si agrego una categoría a digest_suppress_categories, no se muestra en mi resumen de actividad, y si la elimino, entonces aparece.

¿Cómo puedo ayudar a depurar esto? Los correos electrónicos de resumen muestran temas de categorías silenciadas para algunos usuarios.
Una cosa que noté es que uno de estos usuarios no ha iniciado sesión en el sitio durante mucho tiempo (digamos 9 meses); los temas enviados al correo electrónico de los usuarios se crearon entre el momento en que el usuario inició sesión por última vez en el sitio y el momento en que se creó el tema original.

Último inicio de sesión del usuario → hace 9 meses
Tema creado → hace 6 meses
Categoría silenciada → hace 4 meses