activitypub transmogrifier: fix handling of contentMap.
[akkoma] / lib / pleroma / web / activity_pub / utils.ex
index 6ce954cd0597c93dc6c05c8480fb68812bac754c..64329b710080362bbf6b4c30e8903e8efda00ff0 100644 (file)
@@ -233,7 +233,11 @@ defmodule Pleroma.Web.ActivityPub.Utils do
   @doc """
   Makes a follow activity data for the given follower and followed
   """
-  def make_follow_data(%User{ap_id: follower_id}, %User{ap_id: followed_id} = followed, activity_id) do
+  def make_follow_data(
+        %User{ap_id: follower_id},
+        %User{ap_id: followed_id} = followed,
+        activity_id
+      ) do
     data = %{
       "type" => "Follow",
       "actor" => follower_id,