fix(search): index remote attachment descriptions

This commit is contained in:
Lain Soykaf 2026-07-26 12:03:24 +04:00
commit 13c944a04b
No known key found for this signature in database
2 changed files with 8 additions and 0 deletions

View file

@ -78,6 +78,7 @@ defmodule Pleroma.Search do
defp attachment_names(attachments) when is_list(attachments) do
Enum.map(attachments, fn
%{"summary" => summary} when is_binary(summary) -> summary
%{"name" => name} -> name
_ -> nil
end)