Send all event reminder notifications

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2020-09-30 10:45:01 +02:00
parent dc8faa12bd
commit 36cdcaa864
3 changed files with 10 additions and 2 deletions

View File

@@ -872,7 +872,7 @@ defmodule Mobilizon.Federation.ActivityPub do
event_person_participation_changed: participant.actor.id
),
{:ok, _} <-
Scheduler.before_event_notification(participant),
Scheduler.trigger_notifications_for_participant(participant),
participant_as_data <- Convertible.model_to_as(participant),
audience <-
Audience.calculate_to_and_cc_from_mentions(participant),