relabel images - > media

This commit is contained in:
scuti 2024-11-27 22:01:27 -08:00
parent 38d67e0601
commit 7cddab04b7

View File

@ -115,7 +115,7 @@ function write_comments(pleroma_posts, instance, show_avatars)
if #attachments < 1 then
return ""
end
local media_list = {"<p>images attached: </p><ol>"}
local media_list = {"<p>media attached: </p><ol>"}
local item = "<li><a href=\"$link$\">$mime$</a></li>"
for _, v in pairs(attachments) do
local vars = {
@ -127,7 +127,6 @@ function write_comments(pleroma_posts, instance, show_avatars)
table.insert(media_list, foo)
end
table.insert(media_list, "</ol>")
printTable(media_list)
return table.concat(media_list, "\n")
end