En post_alerter.rb
Cambia las líneas 589-599 de:
# linked, quoted, mentioned, chat_quoted may be suppressed if you already have a reply notification
if [
Notification.types[:quoted],
Notification.types[:linked],
Notification.types[:mentioned],
Notification.types[:chat_quoted],
].include?(type)
if existing_notifications.find { |n| n.notification_type == Notification.types[:replied] }
return
end
end
A:
# linked, quoted, mentioned, chat_quoted may be suppressed if you already have any notification about this
post
if [
Notification.types[:quoted],
Notification.types[:linked],
Notification.types[:mentioned],
Notification.types[:chat_quoted],
].include?(type)
return if existing_notifications.any?
end
Esto funcionará, pero me preocupa un poco porque hay otras notificaciones que pueden pasar por aquí. (notificaciones de plugins, por ejemplo, que quizás queramos suprimir)
@lindsey aquí hay una pregunta de producto: ¿cuándo deberíamos suprimir una notificación?
¿Supongo que la pequeña corrección es un paso adelante?