diff options
author | lain <lain@soykaf.club> | 2019-03-11 19:32:21 +0100 |
---|---|---|
committer | lain <lain@soykaf.club> | 2019-03-11 19:32:21 +0100 |
commit | 07277879e595e803f903ac88d66f4b4eb98cc263 (patch) | |
tree | 8c1bf64baae112e09f63164744304f5a7573e87a | |
parent | 600f428db4752114cff31283896d960299f80355 (diff) | |
download | pleroma-07277879e595e803f903ac88d66f4b4eb98cc263.tar.gz pleroma-07277879e595e803f903ac88d66f4b4eb98cc263.zip |
Linting.
-rw-r--r-- | lib/pleroma/web/push/impl.ex | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/pleroma/web/push/impl.ex b/lib/pleroma/web/push/impl.ex index 4d65ca5d5..0437ffd00 100644 --- a/lib/pleroma/web/push/impl.ex +++ b/lib/pleroma/web/push/impl.ex @@ -20,7 +20,10 @@ defmodule Pleroma.Web.Push.Impl do @doc "Performs sending notifications for user subscriptions" @spec perform_send(Notification.t()) :: list(any) - def perform_send(%{activity: %{data: %{"type" => activity_type}, id: activity_id}, user_id: user_id} = notif) + def perform_send( + %{activity: %{data: %{"type" => activity_type}, id: activity_id}, user_id: user_id} = + notif + ) when activity_type in @types do actor = User.get_cached_by_ap_id(notif.activity.data["actor"]) |