Separate Subscription Notifications from regular Notifications
This commit is contained in:
parent
53a3ad6043
commit
0bd2b85edb
14 changed files with 670 additions and 12 deletions
|
|
@ -12,6 +12,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
alias Pleroma.Object.Fetcher
|
||||
alias Pleroma.Pagination
|
||||
alias Pleroma.Repo
|
||||
alias Pleroma.SubscriptionNotification
|
||||
alias Pleroma.Upload
|
||||
alias Pleroma.User
|
||||
alias Pleroma.Web.ActivityPub.MRF
|
||||
|
|
@ -148,6 +149,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
|
|||
PleromaJobQueue.enqueue(:background, Pleroma.Web.RichMedia.Helpers, [:fetch, activity])
|
||||
|
||||
Notification.create_notifications(activity)
|
||||
SubscriptionNotification.create_notifications(activity)
|
||||
|
||||
participations =
|
||||
activity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue