[openSUSE/open-build-service] 0af39e: Stop notification creation if subscriber is same a...
Branch: refs/heads/master Home: https://github.com/openSUSE/open-build-service Commit: 0af39e03c34b21e0a349d28ba1f4e2e1a20044cd https://github.com/openSUSE/open-build-service/commit/0af39e03c34b21e0a349d2... Author: Rubhan Azeem <rubhanazeem@gmail.com> Date: 2022-12-01 (Thu, 01 Dec 2022) Changed paths: M src/api/app/models/event/relationship.rb M src/api/spec/mailers/event_mailer_spec.rb M src/api/spec/models/event_subscription/find_for_event_spec.rb M src/api/spec/services/notification_service/notifier_spec.rb Log Message: ----------- Stop notification creation if subscriber is same as the event initiator This is the same Event::Request, overriding what is defined in Event::Base#originator. Specs were wrongfully passing a user record instead of passing a user login. Fixes #12590 Commit: d3434bc22f9dfa77915d1b0298865a866c2c89a3 https://github.com/openSUSE/open-build-service/commit/d3434bc22f9dfa77915d1b... Author: Dani Donisa <dani.doni@gmail.com> Date: 2022-12-01 (Thu, 01 Dec 2022) Changed paths: M src/api/app/models/event/relationship.rb M src/api/spec/mailers/event_mailer_spec.rb M src/api/spec/models/event_subscription/find_for_event_spec.rb M src/api/spec/services/notification_service/notifier_spec.rb Log Message: ----------- Merge pull request #13442 from rubhanazeem/relationship-notification Stop notification creation if subscriber is same as the event initiator Compare: https://github.com/openSUSE/open-build-service/compare/842c83e03dc0...d3434b...
participants (1)
-
Dani Donisa