14
lib/service/workers/digest_notifier_worker.ex
Normal file
14
lib/service/workers/digest_notifier_worker.ex
Normal file
@@ -0,0 +1,14 @@
|
||||
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
|
||||
Reference in New Issue
Block a user