Credo fixes.
authorlain <lain@soykaf.club>
Wed, 8 May 2019 16:19:20 +0000 (18:19 +0200)
committerlain <lain@soykaf.club>
Wed, 8 May 2019 16:19:20 +0000 (18:19 +0200)
lib/pleroma/conversation.ex
lib/pleroma/web/activity_pub/activity_pub.ex

index 10c2403e8eef424eb77480084c8a0be052604a38..0c6ca9f72e0f6f69ff3aa74ad56b486fb6eff830 100644 (file)
@@ -76,7 +76,7 @@ defmodule Pleroma.Conversation do
   @doc """
   This is only meant to be run by a mix task. It creates conversations/participations for all direct messages in the database.
   """
-  def bump_for_all_activities() do
+  def bump_for_all_activities do
     stream =
       Pleroma.Web.ActivityPub.ActivityPub.fetch_direct_messages_query()
       |> Repo.stream()
index cd849503568b2c04d3210d6afc0a1dce03389765..8137ac83b74ab204a01d8ad47e042fb44280c8b7 100644 (file)
@@ -1052,7 +1052,7 @@ defmodule Pleroma.Web.ActivityPub.ActivityPub do
     end)
   end
 
-  def fetch_direct_messages_query() do
+  def fetch_direct_messages_query do
     Activity
     |> restrict_type(%{"type" => "Create"})
     |> restrict_visibility(%{visibility: "direct"})