beats me why the this got fucked up

This commit is contained in:
Fox 2023-03-08 12:55:53 +09:00
parent f6b2845ab3
commit a783225700

View file

@ -477,8 +477,10 @@ defmodule Pleroma.Web.ActivityPub.SideEffects do
end end
end end
end end
{:ok, object, meta}
end end
def handle_object_creation(%{"type" => "ChatMessage"} = object, _activity, meta) do def handle_object_creation(%{"type" => "ChatMessage"} = object, _activity, meta) do
with {:ok, object, meta} <- Pipeline.common_pipeline(object, meta) do with {:ok, object, meta} <- Pipeline.common_pipeline(object, meta) do
actor = User.get_cached_by_ap_id(object.data["actor"]) actor = User.get_cached_by_ap_id(object.data["actor"])