Linting.
authorlain <lain@soykaf.club>
Mon, 11 Mar 2019 18:32:21 +0000 (19:32 +0100)
committerlain <lain@soykaf.club>
Mon, 11 Mar 2019 18:32:21 +0000 (19:32 +0100)
lib/pleroma/web/push/impl.ex

index 4d65ca5d546a9803c78b97fde1b3e0b85eefbc32..0437ffd00cadb19ea6adad593493b639c611141a 100644 (file)
@@ -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"])