aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/push/impl.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-29 20:07:37 +0000
committerrinpatch <rinpatch@sdf.org>2019-09-29 20:07:37 +0000
commit90537f398160eddfb8033c1cdfe1acc21ee63c4a (patch)
treede6c7854f6ca3daea830caec9d13672fe6c4ec15 /lib/pleroma/web/push/impl.ex
parent6d74a7528c31e6215d808627f1c393ab53d99782 (diff)
parente9d1aa75d5dc0859b692e891f6e65949208a5f0f (diff)
downloadpleroma-90537f398160eddfb8033c1cdfe1acc21ee63c4a.tar.gz
Merge branch 'revert/subscription-refactoring' into 'develop'
Revert subscription refactoring. See merge request pleroma/pleroma!1741
Diffstat (limited to 'lib/pleroma/web/push/impl.ex')
-rw-r--r--lib/pleroma/web/push/impl.ex3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/pleroma/web/push/impl.ex b/lib/pleroma/web/push/impl.ex
index 7ea5607fa..35d3ff07c 100644
--- a/lib/pleroma/web/push/impl.ex
+++ b/lib/pleroma/web/push/impl.ex
@@ -9,7 +9,6 @@ defmodule Pleroma.Web.Push.Impl do
alias Pleroma.Notification
alias Pleroma.Object
alias Pleroma.Repo
- alias Pleroma.SubscriptionNotification
alias Pleroma.User
alias Pleroma.Web.Metadata.Utils
alias Pleroma.Web.Push.Subscription
@@ -20,7 +19,7 @@ defmodule Pleroma.Web.Push.Impl do
@types ["Create", "Follow", "Announce", "Like"]
@doc "Performs sending notifications for user subscriptions"
- @spec perform(Notification.t() | SubscriptionNotification.t()) :: list(any) | :error
+ @spec perform(Notification.t()) :: list(any) | :error
def perform(
%{
activity: %{data: %{"type" => activity_type}, id: activity_id} = activity,