aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/push/impl.ex
diff options
context:
space:
mode:
authorrinpatch <rinpatch@sdf.org>2019-09-30 00:26:49 +0300
committerrinpatch <rinpatch@sdf.org>2019-09-30 00:26:49 +0300
commit1fba66178dd174b96e4531b59d134a62b9013e87 (patch)
tree1f2581f2aab731bd9554fdf8bec51a4ff783d6c1 /lib/pleroma/web/push/impl.ex
parent81b4243173f31fd47eb598fb7ed95cadadf90c2f (diff)
parent90537f398160eddfb8033c1cdfe1acc21ee63c4a (diff)
downloadpleroma-1fba66178dd174b96e4531b59d134a62b9013e87.tar.gz
Merge branch 'develop' into cleanup/drop-subscription-table-if-exists
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,