fix(search): index remote attachment descriptions
This commit is contained in:
parent
271c3a3dd8
commit
13c944a04b
2 changed files with 8 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue