1
0
Fork 0
mirror of https://framagit.org/framasoft/mobilizon.git synced 2025-02-03 07:21:29 +00:00
mobilizon/lib/service/workers/digest_notifier_worker.ex

15 lines
326 B
Elixir
Raw Normal View History

defmodule Mobilizon.Service.Workers.DigestNotifierWorker do
@moduledoc """
Worker to send notifications
"""
use Mobilizon.Service.Workers.Helper, queue: "notifications"
@impl Oban.Worker
def perform(%Job{}) do
# Get last time activities were send
# List activities to send
# Send activites
end
end