Notifications: Make notifications save their type.
This commit is contained in:
parent
8e1db6a835
commit
805ab86933
8 changed files with 90 additions and 27 deletions
|
|
@ -121,6 +121,7 @@ defmodule Pleroma.Web.CommonAPI do
|
|||
object: follow_activity.data["id"],
|
||||
type: "Accept"
|
||||
}) do
|
||||
Notification.update_notification_type(followed, follow_activity)
|
||||
{:ok, follower}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue