From a783225700e454d06767edc4cb7e96aa6f5094a5 Mon Sep 17 00:00:00 2001 From: Fox Date: Wed, 8 Mar 2023 12:55:53 +0900 Subject: [PATCH] beats me why the this got fucked up --- lib/pleroma/web/activity_pub/side_effects.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pleroma/web/activity_pub/side_effects.ex b/lib/pleroma/web/activity_pub/side_effects.ex index 81dd163fe..33738b837 100644 --- a/lib/pleroma/web/activity_pub/side_effects.ex +++ b/lib/pleroma/web/activity_pub/side_effects.ex @@ -477,8 +477,10 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do end end end + + {:ok, object, meta} end - + def handle_object_creation(%{"type" => "ChatMessage"} = object, _activity, meta) do with {:ok, object, meta} <- Pipeline.common_pipeline(object, meta) do actor = User.get_cached_by_ap_id(object.data["actor"])