Correct og:description tag in static-fe

This commit is contained in:
Sol Fisher Romanoff 2022-12-14 20:35:50 +02:00
parent 1f0ef94271
commit 1d884fd914
No known key found for this signature in database
GPG key ID: 9D3F2B64F2341B62

View file

@ -25,7 +25,7 @@ def show(%{assigns: %{notice_id: notice_id}} = conn, _params) do
true <- Visibility.is_public?(activity.object),
{_, true} <- {:visible?, Visibility.visible_for_user?(activity, _reading_user = nil)},
%User{} = user <- User.get_by_ap_id(activity.object.data["actor"]) do
meta = Metadata.build_tags(%{activity_id: notice_id, object: activity.object, user: user})
meta = Metadata.build_tags(%{url: activity.data["id"], object: activity.object, user: user})
timeline =
activity.object.data["context"]