Notifications: Make notifications save their type.

This commit is contained in:
lain 2020-06-02 13:24:34 +02:00
commit 805ab86933
8 changed files with 90 additions and 27 deletions

View file

@ -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