app/commands/decidim/accountability/admin/create_result.rb in decidim-accountability-0.15.2 vs app/commands/decidim/accountability/admin/create_result.rb in decidim-accountability-0.16.0

- old
+ new

@@ -89,10 +89,11 @@ proposals.each do |proposal| Decidim::EventsManager.publish( event: "decidim.events.accountability.proposal_linked", event_class: Decidim::Accountability::ProposalLinkedEvent, resource: result, - recipient_ids: proposal.followers.pluck(:id), + affected_users: proposal.notifiable_identities, + followers: proposal.followers - proposal.notifiable_identities, extra: { proposal_id: proposal.id } ) end