-
- Téléchargements
don't create notifications if the notification-actor is ignored
Also move "shareable hidden"-logic to AlsoCommented, because it is the only one that needs it. And write some specs for mentioned and started sharing notifications. Fixes #6294
parent
f4459488
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- app/models/notification.rb 7 ajouts, 5 suppressionsapp/models/notification.rb
- app/models/notifications/also_commented.rb 3 ajouts, 2 suppressionsapp/models/notifications/also_commented.rb
- app/models/notifications/mentioned.rb 1 ajout, 1 suppressionapp/models/notifications/mentioned.rb
- app/models/notifications/reshared.rb 1 ajout, 1 suppressionapp/models/notifications/reshared.rb
- app/models/notifications/started_sharing.rb 1 ajout, 1 suppressionapp/models/notifications/started_sharing.rb
- spec/models/notification_spec.rb 2 ajouts, 2 suppressionsspec/models/notification_spec.rb
- spec/models/notifications/also_commented_spec.rb 20 ajouts, 0 suppressionspec/models/notifications/also_commented_spec.rb
- spec/models/notifications/mentioned_spec.rb 72 ajouts, 0 suppressionspec/models/notifications/mentioned_spec.rb
- spec/models/notifications/reshared_spec.rb 10 ajouts, 0 suppressionspec/models/notifications/reshared_spec.rb
- spec/models/notifications/started_sharing_spec.rb 33 ajouts, 0 suppressionspec/models/notifications/started_sharing_spec.rb
spec/models/notifications/mentioned_spec.rb
0 → 100644
Veuillez vous inscrire ou vous se connecter pour commenter